diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-12 02:24:14 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-12 02:24:14 +0000 |
commit | 576424c9a3c3074aaa111ee31d753bedb0cfecab (patch) | |
tree | 5d2754fbcbdb680ebf20f8fc7aa83a974f7049dc /games/assaultcube/Makefile | |
parent | c755d769348f42487d0c46c96b0db551dff27cf4 (diff) | |
download | ports-576424c9a3c3074aaa111ee31d753bedb0cfecab.tar.gz ports-576424c9a3c3074aaa111ee31d753bedb0cfecab.zip |
Notes
Diffstat (limited to 'games/assaultcube/Makefile')
-rw-r--r-- | games/assaultcube/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile index 7be5543a940e..1c895fe8c4b5 100644 --- a/games/assaultcube/Makefile +++ b/games/assaultcube/Makefile @@ -2,12 +2,10 @@ # $FreeBSD$ PORTNAME= assaultcube -PORTVERSION= 1.1.0.4 -PORTREVISION= 4 +PORTVERSION= 1.2.0.0 CATEGORIES= games MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} -DISTFILES= AssaultCube_v${PORTVERSION}_source${EXTRACT_SUFX} \ - AssaultCube_v${PORTVERSION}${EXTRACT_SUFX} +DISTNAME= AssaultCube_v${PORTVERSION} MAINTAINER= lightside@gmx.com COMMENT= Total conversion of the FPS game called Cube @@ -26,10 +24,10 @@ LICENSE_PERMS_OTHER= dist-mirror pkg-mirror auto-accept USE_BZIP2= yes USE_OPENAL= al -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes ALL_TARGET= libenet -WRKSRC= ${WRKDIR}/${PORTVERSION} +WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION} CONFIGURE_ARGS= --enable-shared=no --enable-static=yes CONFIGURE_WRKSRC= ${WRKSRC}/source/enet BUILD_WRKSRC= ${WRKSRC}/source/src @@ -45,10 +43,10 @@ CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server MASTER_DESC= Build master server -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCLIENT} +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USES+= gettext USE_GL= yes USE_SDL= image mixer sdl @@ -75,16 +73,16 @@ ACUBE_BIN+= master do-install: .for f in ${ACUBE_BIN} - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${PREFIX}/bin - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} ${PREFIX}/libexec/${PORTNAME}_${f} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_${f} .endfor .if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} .endif .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif post-install: |