aboutsummaryrefslogtreecommitdiffstats
path: root/games/xdigger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdigger/Makefile')
-rw-r--r--games/xdigger/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile
index 8f7ef00fd89c..5cd201e33006 100644
--- a/games/xdigger/Makefile
+++ b/games/xdigger/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xdigger
-# Date created: 29 June 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xdigger
PORTVERSION= 1.0.10
@@ -16,10 +12,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Boulderdash-like KC85 Digger for X Window System
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN6= xdigger.6
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h
@@ -28,7 +26,7 @@ post-install:
@${CHOWN} root:games ${PREFIX}/bin/xdigger
@${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore
@${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}