diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-07-27 11:03:38 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-07-27 11:03:38 +0000 |
commit | 52e8b487f6dc73b0d0baafc955c59e83ab33c41a (patch) | |
tree | 167ee4bd8c4cd737246cf4e2c40f36e42042084e /games/toppler | |
parent | dbe27c5fd4471209e8b77eecbae08f3a2ad57040 (diff) |
- Convert my ports to new options framework
- use CONFLICTS_INSTALL
- other minor changes
Notes
Notes:
svn path=/head/; revision=301600
Diffstat (limited to 'games/toppler')
-rw-r--r-- | games/toppler/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/toppler/Makefile b/games/toppler/Makefile index 1641ceace52a..05816ac1fcee 100644 --- a/games/toppler/Makefile +++ b/games/toppler/Makefile @@ -25,6 +25,8 @@ MAN6= ${PORTNAME}.6 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e \ 's|DATA install-dist_pkgdocDATA|DATA|g' ${WRKSRC}/Makefile.in @@ -34,7 +36,7 @@ post-install: @${CHOWN} root:games ${PREFIX}/bin/${PORTNAME} @${CHMOD} 0664 ${DATADIR}/${PORTNAME}.hsc @${CHOWN} root:games ${DATADIR}/${PORTNAME}.hsc -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in AUTHORS ChangeLog NEWS README ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |