diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-14 20:59:20 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-14 20:59:20 +0000 |
commit | a19b165d3b6a844987360047cffc9a307de8b46f (patch) | |
tree | 55f1435ef55f0c3e2d1e07a32af7a1b9815aee01 /textproc/yodl | |
parent | 944a497d96820fc6f2f383fd943a38a5ed6f1476 (diff) | |
download | freebsd-ports-a19b165d3b6a844987360047cffc9a307de8b46f.zip |
Fix double occurences of USES=
Diffstat (limited to 'textproc/yodl')
-rw-r--r-- | textproc/yodl/Makefile | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile index ffd574d4a649..b4fb44d03ebb 100644 --- a/textproc/yodl/Makefile +++ b/textproc/yodl/Makefile @@ -3,6 +3,7 @@ PORTNAME= yodl PORTVERSION= 3.03.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -17,26 +18,9 @@ BUILD_DEPENDS= icmake:${PORTSDIR}/devel/icmake \ bash:${PORTSDIR}/shells/bash \ gsed:${PORTSDIR}/textproc/gsed -USES= perl5 +USES= perl5 shebangfix USE_PERL5= build -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} -PORTDOCS= * - -PLIST_SUB+= PORTVERSION="${PORTVERSION}" - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -USE_TEX= latex:build dvipsk:build -.endif - -USES= shebangfix - SHEBANG_LANG= icmake icmake_OLD_CMD= /usr/bin/icmake icmake_CMD= ${LOCALBASE}/bin/icmake @@ -57,6 +41,21 @@ SHEBANG_FILES= ${WRKSRC}/macros/rawmacros/create \ ${WRKSRC}/scripts/yodl2whatever.in \ ${WRKSRC}/build +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} +PORTDOCS= * + +PLIST_SUB+= PORTVERSION="${PORTVERSION}" + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +USE_TEX= latex:build dvipsk:build +.endif + post-patch: @${REINPLACE_CMD} -e 's|"/usr"|"${PREFIX}"| ; \ s|"/share/yodl"|"/share/${PORTNAME}-${PORTVERSION}"| ; \ |