diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
commit | df95a2d560d09c86d1a500fe7c6e846a721ff3bf (patch) | |
tree | e391a5b5894d27043bb95bd6680b03174979f810 /games/xtron | |
parent | 3de9e5720382e61bea8dbab6e1287a0b29e64dc0 (diff) | |
download | freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.gz freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.zst freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.zip |
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
Diffstat (limited to 'games/xtron')
-rw-r--r-- | games/xtron/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/games/xtron/Makefile b/games/xtron/Makefile index 52bc0266297e..4ea8fcaf4697 100644 --- a/games/xtron/Makefile +++ b/games/xtron/Makefile @@ -1,16 +1,11 @@ -# New ports collection makefile for: xtron -# Date created: 29 March 1998 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ -# PORTNAME= xtron PORTVERSION= 1.1a PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= games/arcade +MASTER_SITES= SUNSITE/games/arcade EXTRACT_SUFX= .tgz MAINTAINER= amdmi3@FreeBSD.org @@ -26,6 +21,8 @@ DESKTOP_ENTRIES="xtron" \ "Game;ArcadeGame;" \ false +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc @@ -34,7 +31,7 @@ do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |