diff options
author | pav <pav@FreeBSD.org> | 2004-12-19 02:33:12 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-19 02:33:12 +0800 |
commit | ab99919ffe75650c9aaf84ef853febd77d7ff9c9 (patch) | |
tree | 8c19f94f812f184c8b04c0bec2747e0a09ea648f /games/glbsp/Makefile | |
parent | 2a3cf49f42525bb35c5b5faeb5742b5094d8902a (diff) | |
download | freebsd-ports-gnome-ab99919ffe75650c9aaf84ef853febd77d7ff9c9.tar.gz freebsd-ports-gnome-ab99919ffe75650c9aaf84ef853febd77d7ff9c9.tar.zst freebsd-ports-gnome-ab99919ffe75650c9aaf84ef853febd77d7ff9c9.zip |
- Update to 2.10c
PR: ports/75203
Submitted by: Igor Pokrovsky <ip@doom.homeunix.org> (maintainer)
Diffstat (limited to 'games/glbsp/Makefile')
-rw-r--r-- | games/glbsp/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/games/glbsp/Makefile b/games/glbsp/Makefile index 809bd2a7238b..544ea5f33b4e 100644 --- a/games/glbsp/Makefile +++ b/games/glbsp/Makefile @@ -6,8 +6,7 @@ # PORTNAME= glbsp -PORTVERSION= 2.05 -PORTREVISION= 1 +PORTVERSION= 2.10c CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,7 +22,7 @@ LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk USE_GMAKE= yes USE_REINPLACE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[[:alpha:]]//} .if !defined (WITH_GUI_VERSION) PLIST_SUB= GUI_VERSION="@comment " @@ -39,23 +38,20 @@ pre-everything:: .endif .ifdef (WITH_GUI_VERSION) -post-patch: - @${REINPLACE_CMD} -e 's|%%FLTK_CONFIG%%|${X11BASE}\/bin\/fltk-config|g' \ - ${WRKSRC}/fltk/makefile.unx -.endif - -do-build: - ${SETENV} CC=${CC} "CFLAGS=${CFLAGS}" \ - ${GMAKE} -C ${WRKSRC}/cmdline -f makefile.unx all -.ifdef (WITH_GUI_VERSION) - ${SETENV} CC=${CC} CXX=${CXX} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" \ - ${GMAKE} -C ${WRKSRC}/fltk -f makefile.unx all +post-build: + ${SETENV} CC=${CC} \ + CXX=${CXX} \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + X11BASE=${X11BASE} \ + LOCALBASE=${LOCALBASE} \ + ${GMAKE} -C ${WRKSRC} -f GUI.mak all .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cmdline/glbsp ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/glbsp ${PREFIX}/bin .ifdef (WITH_GUI_VERSION) - ${INSTALL_PROGRAM} ${WRKSRC}/fltk/glBSPX ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/glBSPX ${PREFIX}/bin .endif .ifndef (NOPORTDOCS) |