aboutsummaryrefslogtreecommitdiffstats
path: root/games/naev-data/Makefile
blob: 16f051da37c4174e1a06d8de8a3c1d88efdb6eb0 (plain) (blame)
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
34
35
# New ports collection makefile for:    naev-data
# Date created:     2009-04-26
# Whom:         Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   data
PORTVERSION=    0.4.2
CATEGORIES= games
MASTER_SITES=   ${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/-//}

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

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

.include <bsd.port.mk>