aboutsummaryrefslogtreecommitdiffstats
path: root/games/naev-data/Makefile
blob: 2d7da42227ad51034434efd56ef4406180b72ce0 (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
36
# 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.5.0
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/-//}

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

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

.include <bsd.port.mk>