- Support staging
- Respect CFLAGS - Remove unneeded USE_GMAKE
This commit is contained in:
parent
700a870f9c
commit
556045676d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331923
@ -10,20 +10,19 @@ MASTER_SITES= SF/${PORTNAME}1/${PORTNAME}1/${PORTVERSION}
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Internet Go Server client and game editor
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_XORG= x11 ice sm
|
||||
|
||||
MAN6= cgoban.6
|
||||
PLIST_FILES= bin/cgoban
|
||||
PLIST_FILES= bin/cgoban \
|
||||
man/man6/cgoban.6.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c
|
||||
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|; \
|
||||
/CFLAGS='\''-O2/ d' ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user