1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Add stage support

- Convert USE_GMAKE to USES
This commit is contained in:
Danilo Egea Gondolfo 2014-02-16 19:12:22 +00:00
parent 4cda9784ba
commit 7ba6236cfd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344624

View File

@ -15,10 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
USE_GNOME= gtk20
USES= bison
USES= bison gmake
USE_WX= 2.6+
WX_CONF_ARGS= absolute
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
@ -27,13 +26,12 @@ PLIST_FILES= bin/graphthing bin/gt
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin
${LN} -sf graphthing ${PREFIX}/bin/gt
${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${STAGEDIR}${PREFIX}/bin
${LN} -sf graphthing ${STAGEDIR}${PREFIX}/bin/gt
.include <bsd.port.mk>