diff options
Diffstat (limited to 'games/CaribbeanStud/Makefile')
-rw-r--r-- | games/CaribbeanStud/Makefile | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/games/CaribbeanStud/Makefile b/games/CaribbeanStud/Makefile index 1156d7a7c60f..675a93d286e9 100644 --- a/games/CaribbeanStud/Makefile +++ b/games/CaribbeanStud/Makefile @@ -1,29 +1,34 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ -PORTNAME= CaribbeanStud -PORTVERSION= 1.0 -PORTREVISION= 3 -CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_XCONTRIB} +PORTNAME= CaribbeanStud +PORTVERSION= 1.0 +PORTREVISION= 3 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= games -DISTNAME= CS +DISTNAME= CS -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Caribbean Stud gambling game for X Window System -MAKEFILE= Xmakefile -USES= motif -CFLAGS+= -Wno-deprecated +MAKEFILE= Xmakefile +USES= motif +CFLAGS+= -Wno-deprecated + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|iostream\.h|iostream|g' \ + ${WRKSRC}/Card.cpp ${WRKSRC}/Card.h ${WRKSRC}/CaribbeanStud.cpp \ + ${WRKSRC}/Dealer.cpp ${WRKSRC}/Deck.cpp ${WRKSRC}/Player.cpp \ + ${WRKSRC}/Seat.cpp ${WRKSRC}/Table.cpp -NO_STAGE= yes do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/CaribbeanStud ${PREFIX}/bin - @ ${INSTALL_DATA} ${WRKSRC}/CaribbeanStud.res ${PREFIX}/lib/X11/app-defaults/CaribbeanStud -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/CaribbeanStud - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/CaribbeanStud - @ ${INSTALL_DATA} ${WRKSRC}/class.ps ${PREFIX}/share/doc/CaribbeanStud -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/CaribbeanStud ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/CaribbeanStud.res ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/CaribbeanStud + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/CaribbeanStud + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/CaribbeanStud + ${INSTALL_DATA} ${WRKSRC}/class.ps ${STAGEDIR}${PREFIX}/share/doc/CaribbeanStud .include <bsd.port.mk> |