svn commit: r356969 - head/games/super_methane_brothers

Vanilla I. Shu vanilla at FreeBSD.org
Sun Jun 8 03:25:44 UTC 2014


Author: vanilla
Date: Sun Jun  8 03:25:44 2014
New Revision: 356969
URL: http://svnweb.freebsd.org/changeset/ports/356969
QAT: https://qat.redports.org/buildarchive/r356969/

Log:
  1: Stagify.
  2: convert to new LIB_DEPENDS format.

Modified:
  head/games/super_methane_brothers/Makefile

Modified: head/games/super_methane_brothers/Makefile
==============================================================================
--- head/games/super_methane_brothers/Makefile	Sun Jun  8 03:11:56 2014	(r356968)
+++ head/games/super_methane_brothers/Makefile	Sun Jun  8 03:25:44 2014	(r356969)
@@ -14,8 +14,8 @@ COMMENT=	Port of the Amiga platform game
 
 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


More information about the svn-ports-head mailing list