1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/vegastrike-data/Makefile
Dmitry Marakasov 06224687c3 - Update to 0.5.1.r1
- OptionsNG
- Trim headers
- Pass maintainership to submitter

PR:		168957
Submitted by:	Rusty Nejdl <rnejdl@ringofsaturn.com>
Feature safe:	yes
2012-11-29 09:41:47 +00:00

39 lines
948 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= vegastrike
PORTVERSION= 0.5.1.r1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.5.1/
PKGNAMESUFFIX= -data
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= Vega Strike data files
USE_BZIP2= yes
NO_BUILD= yes
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MANUAL_PACKAGE_BUILD=huge
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.am" -delete
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
${FIND} . -type f -mindepth 1 | ${SORT} | \
${SED} -e 's|^\./||; s|^|%%DATADIR%%/|' >> ${PLIST} && \
${FIND} . -type d -mindepth 1 | ${SORT} -r | \
${SED} -e 's|^\./||; s|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
.include <bsd.port.mk>