Changeset View
Changeset View
Standalone View
Standalone View
head/games/flightgear-data/Makefile
Show All 14 Lines | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
USES= tar:bzip2 | USES= tar:bzip2 | ||||
WRKSRC= ${WRKDIR}/fgdata | WRKSRC= ${WRKDIR}/fgdata | ||||
DATADIR= ${PREFIX}/share/flightgear | DATADIR= ${PREFIX}/share/flightgear | ||||
PLIST= ${WRKDIR}/pkg-plist | PLIST= ${WRKDIR}/pkg-plist | ||||
PLIST_DIRS= %%DATADIR%% | PLIST_DIRS= %%DATADIR%% | ||||
MANUAL_PACKAGE_BUILD= very large distfile (>1 GB) | |||||
post-patch: | post-patch: | ||||
@${RM} -f ${WRKSRC}/COPYING | @${RM} -f ${WRKSRC}/COPYING | ||||
pre-install: | pre-install: | ||||
@${RM} -f ${PLIST} | @${RM} -f ${PLIST} | ||||
@cd ${WRKSRC} && \ | @cd ${WRKSRC} && \ | ||||
${FIND} * -type d -empty | ${SORT} \ | ${FIND} * -type d -empty | ${SORT} \ | ||||
| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \ | | ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \ | ||||
Show All 10 Lines |