2006-10-03 19:42:13 +02:00
|
|
|
# New ports collection makefile for: fretsonfire-data
|
|
|
|
# Date created: 2006-10-02
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= data
|
2007-04-20 21:57:22 +02:00
|
|
|
PORTVERSION= 1.2.451
|
2006-10-03 19:42:13 +02:00
|
|
|
CATEGORIES= games python
|
2006-11-25 19:09:48 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S/-//}
|
2006-10-03 19:42:13 +02:00
|
|
|
PKGNAMEPREFIX= fretsonfire-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX:S/f/F/g:S/o/O/}${PORTVERSION:S/$/-linux/}
|
|
|
|
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}
|
|
|
|
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
|
|
COMMENT= Frets on Fire data files
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
DATADIR= share/${PKGNAMEPREFIX:S/-//}
|
|
|
|
RESTRICTED= Only Unreal Voodoo site is allowed to distribute the music
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/f/F/g:S/o/O/:S/-//}
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${PKGNAMEPREFIX:S/f/F/g:S/o/O/:S/-//}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/${DATADIR}
|
|
|
|
@cd ${WRKSRC}/data && \
|
|
|
|
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/{}" \; && \
|
|
|
|
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/{}" \;
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|