diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-29 23:30:11 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-29 23:30:11 +0800 |
commit | f89cb17e2ba22318eeac98b7d0d125ead3a9f839 (patch) | |
tree | 64ef68d249a87c09a81058dc7c63a172025def14 | |
parent | 492a3932462099afbd9ea2c95c231afb780fc91e (diff) | |
download | freebsd-ports-graphics-f89cb17e2ba22318eeac98b7d0d125ead3a9f839.tar.gz freebsd-ports-graphics-f89cb17e2ba22318eeac98b7d0d125ead3a9f839.tar.zst freebsd-ports-graphics-f89cb17e2ba22318eeac98b7d0d125ead3a9f839.zip |
- Add stage support
- Convert LIB_DEPENDS to new syntax
- Add DOCS option
-rw-r--r-- | games/3dc/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile index f646c87544c..20d301b3d01 100644 --- a/games/3dc/Makefile +++ b/games/3dc/Makefile @@ -14,14 +14,15 @@ COMMENT= 3-Dimensional Chess for X Window System LICENSE= GPLv2 -LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d +LIB_DEPENDS= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d USES= perl5 USE_PERL5= build USE_XORG= x11 xaw xext xmu xpm xt WRKSRC= ${WRKDIR}/3Dc/src -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: .for file in init.c main.c piece.c stack.c xif.c @${REINPLACE_CMD} -i '' -e 's|malloc.h|stdlib.h|' \ @@ -29,12 +30,10 @@ post-patch: .endfor do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/3Dc + ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/3Dc .for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO - @ ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/3Dc + ${INSTALL_DATA} ${WRKSRC}/../${file} ${STAGEDIR}${PREFIX}/share/doc/3Dc .endfor -.endif .include <bsd.port.mk> |