mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
9e675b852a
we're here. Remove any other references to NOPORT*. Approved by: portmgr (blanket for modernization)
55 lines
987 B
Makefile
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>
|