1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix version to match upstream

- Pet portlint
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-12-05 18:37:25 +00:00
parent 123fdc7d25
commit b788e791fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455602

View File

@ -2,11 +2,10 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= xtux PORTNAME= xtux
PORTVERSION= 2003.03.06 PORTVERSION= 20030306
PORTREVISION= 4
CATEGORIES= games CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/20030306 MASTER_SITES= SF
DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/.//g} DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= mmokhi@FreeBSD.org MAINTAINER= mmokhi@FreeBSD.org
COMMENT= Humorous Arcade game for X COMMENT= Humorous Arcade game for X
@ -16,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XORG= xpm
USES= gmake USES= gmake
USE_XORG= xpm
MAKE_ENV= CPP="${CC} -E" MAKE_ENV= CPP="${CC} -E"
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\" CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
@ -61,6 +60,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/data/demos/*.xtdem ${STAGEDIR}${DATADIR}/demos ${INSTALL_DATA} ${WRKSRC}/data/demos/*.xtdem ${STAGEDIR}${DATADIR}/demos
${INSTALL_DATA} ${WRKSRC}/data/maps/*.map ${STAGEDIR}${DATADIR}/maps ${INSTALL_DATA} ${WRKSRC}/data/maps/*.map ${STAGEDIR}${DATADIR}/maps
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}