mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
ea70da9e01
- Drop @dirrm* from plist
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# Created by: Alexander Logvinov <ports@logvinov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ${MTANAME:tl}
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://files.gonnaplay.com/201/:main \
|
|
http://www.trancevibez.com/mta/:both \
|
|
http://files.gonnaplay.com/20104/:patch
|
|
DISTFILES= ${MTANAME}0_5-linux.tar.gz:main,both ${MTANAME}0_5-linux-patch1.tar.gz:patch,both
|
|
DIST_SUBDIR= mta
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multi Theft Auto: Vice City and GTA3 dedicated server
|
|
|
|
LICENSE= MTA
|
|
LICENSE_NAME= MTA v0.5 LICENSE AGREEMENT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
LICENSE_PERMS= dist-mirror
|
|
|
|
USE_LINUX= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_RC_SUBR= mtad
|
|
MTANAME= MTAServer
|
|
PORTDOCS= CHANGELOG LICENSE README
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC}/${MTANAME} ${WRKSRC}/${PORTNAME}
|
|
@${CHMOD} 600 ${WRKSRC}/${PORTNAME}.conf
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|banned.lst|${ETCDIR}/&|" ${WRKSRC}/${PORTNAME}.conf
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
|
|
${STAGEDIR}/${ETCDIR}/${PORTNAME}.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|