freebsd-ports/games/fretsonfire-data/Makefile
Dmitry Marakasov aa4f21d177 - Fix DATADIR (is an absolute path)
- Add NO_ARCH
- Simplify installation
- Drop @dirrm* from plist

Approved by:	bapt
2014-12-23 03:37:09 +00:00

26 lines
754 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= data
PORTVERSION= 1.3.110
CATEGORIES= games python
MASTER_SITES= SF/fretsonfire/fretsonfire/${PORTVERSION}
PKGNAMEPREFIX= fretsonfire-
DISTNAME= ${PKGNAMEPREFIX:S/f/F/g:S/o/O/}${PORTVERSION}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}
MAINTAINER= acm@FreeBSD.org
COMMENT= Frets on Fire data files
NO_BUILD= yes
NO_ARCH= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
RESTRICTED= Only Unreal Voodoo site is allowed to distribute the music
WRKSRC= ${WRKDIR}/Frets\ on\ Fire-${PORTVERSION}
EXTRACT_AFTER_ARGS= --exclude 'win32' "Frets on Fire-${PORTVERSION}/${PORTNAME}"
do-install:
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>