Page MenuHomeDevCentral

/usr/ports/french/dico/Makefile

Authored By
dereckson
Nov 13 2015, 14:01
Size
1 KB
Referenced Files
None
Subscribers
None

/usr/ports/french/dico/Makefile

# Created by: Cyrille Lefevre <clefevre@citeweb.net>
# $FreeBSD: head/french/dico/Makefile 400160 2015-10-25 19:35:28Z antoine $
PORTNAME= dico
PORTVERSION= 1.1
PORTREVISION= 8
CATEGORIES= french
MASTER_SITES= ftp://ftp.supelec.fr/lsi/pub/security/
DISTNAME= le_dico
MAINTAINER= dereckson@espace-win.org
COMMENT= Dictionary in French
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-build:
(cd ${WRKSRC}/sources && ${CC} ${CFLAGS} ${LDFLAGS} -o dico dico.c)
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sources/dico ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/lexique/*.dic ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manuel/copying.doc ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/manuel/dico.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \
${WRKSRC}/README.TXT ${WRKSRC}/manuel/dico.1 \
${WRKSRC}/sources/dico.c
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10969
Default Alt Text
/usr/ports/french/dico/Makefile (1 KB)

Event Timeline