aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xmangekyou
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
committereadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
commit829086f391d67260ccc3007dc40423d9941b869e (patch)
treec71927c24616b647a0be8594203b80a737a11e2a /x11/xmangekyou
parent11b654553e6799f28ab93b56abaf6a16d6806ab0 (diff)
downloadfreebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.gz
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.zst
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.zip
For some of the unmaintained ports in the x11 category convert them to OptionsNG
While here, trim the headers
Diffstat (limited to 'x11/xmangekyou')
-rw-r--r--x11/xmangekyou/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/xmangekyou/Makefile b/x11/xmangekyou/Makefile
index d0208a41cde5..6711a7eb25bc 100644
--- a/x11/xmangekyou/Makefile
+++ b/x11/xmangekyou/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: XMangekyou
-# Date created: 30 October 1998
-# Whom: Sakai Hiroaki <sakai@miya.ee.kagu.sut.ac.jp>
-#
+# Created by: Sakai Hiroaki <sakai@miya.ee.kagu.sut.ac.jp>
# $FreeBSD$
-#
PORTNAME= xmangekyou
PORTVERSION= 2.0.1
@@ -23,6 +19,8 @@ PORTDOCS= COPYRIGHT.euc HISTORY.euc README.euc
PLIST_FILES= bin/xmangekyou lib/X11/XMangekyou/animation.dat
PLIST_DIRS= lib/X11/XMangekyou
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|= /usr/X11R6|= $${PREFIX}|g ; \
s|gcc |$${CC} |g ; \
@@ -35,7 +33,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/xmangekyou.1.gz ${MANPREFIX}/man/man1
@${MKDIR} ${PREFIX}/lib/X11/XMangekyou
${INSTALL_DATA} ${WRKSRC}/animation.dat ${PREFIX}/lib/X11/XMangekyou
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.euc ${DOCSDIR}
.endif