Summary: | [PATCH] games/linux-ssamtse: StageDir | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Johannes Meixner <xmj> | ||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | xmj | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Johannes Meixner
2014-03-23 22:30:02 UTC
Responsible Changed From-To: freebsd-ports-bugs->swills swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool) Author: swills Date: Wed Mar 26 02:32:34 2014 New Revision: 349213 URL: http://svnweb.freebsd.org/changeset/ports/349213 QAT: https://qat.redports.org/buildarchive/r349213/ Log: - Stage PR: ports/187866 Submitted by: Johannes Jost Meixner <xmj@chaot.net> Modified: head/games/linux-ssamtse/Makefile Modified: head/games/linux-ssamtse/Makefile ============================================================================== --- head/games/linux-ssamtse/Makefile Wed Mar 26 02:29:02 2014 (r349212) +++ head/games/linux-ssamtse/Makefile Wed Mar 26 02:32:34 2014 (r349213) @@ -27,7 +27,6 @@ SUB_FILES= pkg-message IGNORE= ${PKGNAME} requires CDROM_MOUNT set to mount point of CD .endif -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MVORBIS} @@ -59,53 +58,53 @@ do-install: @${ECHO_CMD} "${PKGNAME} requires a retail Second Encounter disc" @${FALSE} .endif - @${MKDIR} ${DATADIR}/Mods + @${MKDIR} ${STAGEDIR}${DATADIR}/Mods .for gro in "" _Extra _ExtraTools _Levels _Music - ${INSTALL_DATA} "${CDROM_MOUNT}/Install/SE1_00${gro}.gro" ${DATADIR}/SE1_00${gro}.gro + ${INSTALL_DATA} "${CDROM_MOUNT}/Install/SE1_00${gro}.gro" ${STAGEDIR}${DATADIR}/SE1_00${gro}.gro .endfor - ${INSTALL_DATA} "${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex" ${DATADIR}/Mods/SecondEncounterTbn.tex + ${INSTALL_DATA} "${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex" ${STAGEDIR}${DATADIR}/Mods/SecondEncounterTbn.tex .for dir in Controls Data Scripts VirtualTrees Worlds Demos @cd ${CDROM_MOUNT}/Install && \ ${FIND} ${dir} -type d -exec \ - ${MKDIR} "${DATADIR}/{}" \; && \ + ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ ${FIND} ${dir} -type f -exec \ - ${INSTALL_DATA} "${CDROM_MOUNT}/Install/{}" "${DATADIR}/{}" \; + ${INSTALL_DATA} "${CDROM_MOUNT}/Install/{}" "${STAGEDIR}${DATADIR}/{}" \; .endfor - @${MKDIR} ${DATADIR}/Help + @${MKDIR} ${STAGEDIR}${DATADIR}/Help .for i in ${PORTDOCS:NREADME.liflg} - ${INSTALL_DATA} "${CDROM_MOUNT}/Install/Help/${i}" ${DATADIR}/Help/${i} + ${INSTALL_DATA} "${CDROM_MOUNT}/Install/Help/${i}" ${STAGEDIR}${DATADIR}/Help/${i} .endfor .for dir in Data/Var Levels @cd ${WRKSRC} && \ ${FIND} ${dir} -type d -exec \ - ${MKDIR} "${DATADIR}/{}" \; && \ + ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ ${FIND} ${dir} -type f -exec \ - ${INSTALL_DATA} "${WRKSRC}/{}" "${DATADIR}/{}" \; + ${INSTALL_DATA} "${WRKSRC}/{}" "${STAGEDIR}${DATADIR}/{}" \; .endfor - @${MKDIR} ${DATADIR}/Bin + @${MKDIR} ${STAGEDIR}${DATADIR}/Bin @cd ${WRKSRC}/Data && \ ${FIND} Bin -type f -exec \ - ${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${DATADIR}/{}" \; - ${BRANDELF} -t Linux ${DATADIR}/Bin/ssam_* - ${INSTALL_DATA} ${WRKSRC}/ModExt.txt ${DATADIR} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${STAGEDIR}${DATADIR}/{}" \; + ${BRANDELF} -t Linux ${STAGEDIR}${DATADIR}/Bin/ssam_* + ${INSTALL_DATA} ${WRKSRC}/ModExt.txt ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MVORBIS} - ${LN} -fs ${LINUXBASE}/usr/lib/libvorbisfile.so.3 ${DATADIR}/Bin/libvorbisfile.so + ${LN} -fs ${LINUXBASE}/usr/lib/libvorbisfile.so.3 ${STAGEDIR}${DATADIR}/Bin/libvorbisfile.so .endif - @${FIND} -E ${DATADIR} -type f \ + @${FIND} -E ${STAGEDIR}${DATADIR} -type f \ -iregex ".*\.(ctl|txt|lst|ini|cfg|des|reg)" \ ! -iregex ".*ModExt.txt" \ -exec ${SH} -c "${SED} "s/`printf '\r'`//" '{}' \ >${WRKDIR}/tmp.txt; ${MV} ${WRKDIR}/tmp.txt '{}'" \; - @${ECHO} SERIOUS_MHZ=2000 > ${PREFIX}/etc/${PORTNAME}.conf.sample + @${ECHO} SERIOUS_MHZ=2000 > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .if !exists(${PREFIX}/etc/${PORTNAME}.conf) - ${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf + ${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${DOCSDIR} + ${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS:NREADME.liflg} - ${LN} -sf ${DATADIR}/Help/${i} ${DOCSDIR}/${i} + ${LN} -sf ${DATADIR}/Help/${i} ${STAGEDIR}${DOCSDIR}/${i} .endfor .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |