1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/french/dico/Makefile
Adam Weinberger 9e675b852a Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*.

Approved by:	portmgr (blanket for modernization)
2014-07-05 00:20:38 +00:00

55 lines
987 B
Makefile

# Created by: Cyrille Lefevre <clefevre@citeweb.net>
# $FreeBSD$
PORTNAME= dico
PORTVERSION= 1.1
PORTREVISION= 7
CATEGORIES= french
MASTER_SITES= ftp://ftp.supelec.fr/lsi/pub/security/
DISTNAME= le_dico
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive dictionary in french
BROKEN_WWW= http://www.montefiore.ulg.ac.be/cgi-bin-ulg/DICO.html
# Global variables
#
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_AUTOTOOLS= automake14 autoconf
CONFIGURE_ARGS= --mandir=${PREFIX}/man
USES= gmake
AUTOMAKE_ARGS= --add-missing --foreign --include-deps
MAKE_ARGS= prefix=${PREFIX}
MAN1= dico.1
REINPLACE_SUB= PREFIX=${PREFIX}
# Post-patch
#
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/sources/dico.c
# Pre-configure
#
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL}
# Post-install
#
.include <bsd.port.options.mk>
post-install:
.if empty(PORT_OPTIONS:MDOCS)
@${RM} -rf ${DOCSDIR}
.endif
.include <bsd.port.mk>