svn commit: r428545 - in head/games: . alienarena alienarena-data
Mathieu Arnold
mat at FreeBSD.org
Wed Dec 14 09:20:27 UTC 2016
Le 14/12/2016 à 05:48, Jose Alonso Cardenas Marquez a écrit :
> .if ${PORT_OPTIONS:MCLIENT}
> @@ -56,8 +52,9 @@ USES+= openal:soft,alut pkgconfig
> LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl \
> libfreetype.so:${PORTSDIR}/print/freetype2 \
> libjpeg.so:${PORTSDIR}/graphics/jpeg \
> - libpng15.so:${PORTSDIR}/graphics/png \
> + libpng16.so:${PORTSDIR}/graphics/png \
> libvorbis.so:${PORTSDIR}/audio/libvorbis
> +BUILD_DEPENDS+= ${LOCALBASE}/lib/libode.a:devel/ode
> USE_GL= yes
> USE_XORG= xxf86dga xxf86vm
> .endif
> @@ -79,24 +76,27 @@ PLIST_SUB+= DEDICATED="@comment "
> .endif
All the options handling before would be done better using options
helpers, and by defining OPTION_SUB.
>
> do-install:
> - ${MKDIR} ${LIBDIR}/arena ${LIBDIR}/data1
> - ${LN} -s ${DATADIR}/arena/* ${LIBDIR}/arena
> - ${LN} -s ${DATADIR}/botinfo ${LIBDIR}
> - ${LN} -s ${DATADIR}/data1/* ${LIBDIR}/data1
> + ${MKDIR} ${STAGEDIR}${LIBDIR}/arena ${STAGEDIR}${LIBDIR}/data1
> + ${LN} -s ${DATADIR}/arena/* ${STAGEDIR}${LIBDIR}/arena
> + ${LN} -s ${DATADIR}/botinfo ${STAGEDIR}${LIBDIR}
> + ${LN} -s ${DATADIR}/data1/* ${STAGEDIR}${LIBDIR}/data1
> .if ${PORT_OPTIONS:MCLIENT}
> ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
> - ${PREFIX}/bin/${PORTNAME}
> + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
> .endif
> .if ${PORT_OPTIONS:MDEDICATED}
> ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-ded \
> - ${PREFIX}/bin/${PORTNAME}-ded
> + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-ded
> .endif
>
Same here, use options target helpers.
> post-install:
>
The post-install target should be removed, it echo's the pkg message
file, which is already done when the package is installed.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20161214/437d0f30/attachment.sig>
More information about the svn-ports-all
mailing list