mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# Created by: alepulver
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= data
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.3drealms.com/share/ \
|
|
ftp://ftp.kiarchive.ru/pub/.1/msdos/games/play/3d/ \
|
|
ftp://ftp.relcom.ru/pub/.1/msdos/games/play/3d/ \
|
|
ftp://ftp.relcom.ru/pub/.1/msdos/games/play/3d/ \
|
|
ftp://ftp.lublin.pl/vol/8/planetquake/planetduke/ \
|
|
ftp://ftp.etsimo.uniovi.es/pub/games/msdos/ \
|
|
ftp://ftp.uniovi.es/pub/games/msdos/ \
|
|
ftp://ftp.ziplink.net/users/rhino/ \
|
|
ftp://ftp.kiae.su/pub/.1/msdos/games/play/3d/
|
|
PKGNAMEPREFIX= ${DN3DPKGNAMEPREFIX}
|
|
DISTFILES= #
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Duke Nukem 3D Data
|
|
|
|
USES= zip
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
OPTIONS_DEFINE= SHAREWARE
|
|
SHAREWARE_DESC= Install shareware game data version 1.3
|
|
|
|
DATADIR= ${DN3DDIR:C/^${LOCALBASE}/${PREFIX}/}
|
|
|
|
.include "Makefile.include"
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSHAREWARE}
|
|
DISTFILES+= 3dduke13.zip
|
|
PLIST_SUB+= SHAREWARE=""
|
|
.else
|
|
PLIST_SUB+= SHAREWARE="@comment "
|
|
SUB_FILES+= pkg-message
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSHAREWARE}
|
|
post-extract:
|
|
@cd ${WRKSRC} && ${UNZIP_CMD} -qo DN3DSW13.SHR
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@${TOUCH} ${STAGEDIR}${DATADIR}/.keepme
|
|
.if ${PORT_OPTIONS:MSHAREWARE}
|
|
${INSTALL_DATA} ${WRKSRC}/DUKE3D.GRP ${STAGEDIR}${DATADIR}/duke3d.grp
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|