1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

1: Stagify.

2: convert to new LIB_DEPENDS format.
This commit is contained in:
Vanilla I. Shu 2014-06-08 03:25:44 +00:00
parent 55e9152176
commit a4ebe4cba9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356969

View File

@ -14,8 +14,8 @@ COMMENT= Port of the Amiga platform game of the same name
LICENSE= GPLv2
LIB_DEPENDS= clan23Core:${PORTSDIR}/devel/clanlib \
execinfo:${PORTSDIR}/devel/libexecinfo
LIB_DEPENDS= libclan23Core.so:${PORTSDIR}/devel/clanlib \
libexecinfo.so:${PORTSDIR}/devel/libexecinfo
USES= gmake pkgconfig
USE_GCC= yes
@ -29,8 +29,6 @@ LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
PORTDOCS= *
PLIST_FILES= bin/methane
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@ -44,12 +42,12 @@ post-patch:
s|gcc|$${CXX}|' ${WRKSRC}/Makefile
do-install:
(cd ${WRKDIR}/${DISTNAME} && ${INSTALL_PROGRAM} methane ${PREFIX}/bin)
${CHGRP} games ${PREFIX}/bin/methane
${CHMOD} g+s ${PREFIX}/bin/methane
(cd ${WRKDIR}/${DISTNAME} && ${INSTALL_PROGRAM} methane ${STAGEDIR}${PREFIX}/bin)
${CHGRP} games ${STAGEDIR}${PREFIX}/bin/methane
${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/methane
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKDIR}/${DISTNAME}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKDIR}/${DISTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} POST-INSTALL