summaryrefslogtreecommitdiffstats
path: root/games/naev-data/Makefile
blob: 4f1a84735868da2d9b8b92325c9d3c07e06842b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$

PORTNAME=	data
PORTVERSION=	0.5.3
CATEGORIES=	games
MASTER_SITES=	SF/${PKGNAMEPREFIX:S/-//}/${PKGNAMEPREFIX}${PORTVERSION} \
		${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=	naev-
DISTNAME=	${PORTNAME:S/^/n/}-${PORTVERSION}
EXTRACT_SUFX=	#
DIST_SUBDIR=	${PKGNAMEPREFIX:S/-//}

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Naev game data file

PROJECTHOST=	${PKGNAMEPREFIX:S/-//}
NO_BUILD=	yes

DATADIR=	${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
PLIST_FILES=	share/${PKGNAMEPREFIX:S/-//}/${PORTNAME:S/^/n/}-${PORTVERSION}
PLIST_DIRS=	share/${PKGNAMEPREFIX:S/-//}

NO_STAGE=	yes
do-extract:
	@@${MKDIR} ${WRKSRC}
	@${CP} ${_DISTDIR}/${DISTFILES} ${WRKSRC}

do-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/${DISTFILES} ${DATADIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud