Date: Sat, 14 Dec 2013 00:03:57 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336405 - head/emulators/dtcyber Message-ID: <201312140003.rBE03vft090966@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sat Dec 14 00:03:57 2013 New Revision: 336405 URL: http://svnweb.freebsd.org/changeset/ports/336405 Log: - Add stage support Modified: head/emulators/dtcyber/Makefile Modified: head/emulators/dtcyber/Makefile ============================================================================== --- head/emulators/dtcyber/Makefile Sat Dec 14 00:02:17 2013 (r336404) +++ head/emulators/dtcyber/Makefile Sat Dec 14 00:03:57 2013 (r336405) @@ -19,24 +19,20 @@ USE_XORG= x11 NO_WRKSUBDIR= yes INSTALL_TARGET= MAKEFILE= Makefile.x11 + SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message PLIST_FILES= bin/dtcyber %%EXAMPLESDIR%%/cyber.ini %%EXAMPLESDIR%%/cos.tap PLIST_DIRS= %%EXAMPLESDIR%% -NO_STAGE= yes pre-patch: ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.x11 ${REINPLACE_CMD} -e 's|CFLAGS = -O2|CFLAGS+= |' ${WRKSRC}/Makefile.x11 ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' ${WRKSRC}/Makefile.x11 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dtcyber ${PREFIX}/bin - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/cyber.ini ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/Os/cos.tap ${EXAMPLESDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/dtcyber ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/cyber.ini ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/Os/cos.tap ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312140003.rBE03vft090966>