aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kcd
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-25 12:30:31 +0800
committereadler <eadler@FreeBSD.org>2013-03-25 12:30:31 +0800
commitb188c769f2650f1a4c596b60d43f25ba20eed016 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/kcd
parent6441d65203b3635b4c310c9e76e9296880cb7826 (diff)
downloadfreebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.gz
freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.zst
freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.zip
Cleanup unmaintained ports in the misc category:
- Trim Header - Convert to OptionsNG - Prefer DISTNAME to DISTFILES - Reorder variables - Fix comments (don't include leading article) - @unexec rm must not cause failure - Tabs, not spaces - Single space for WWW - Pet portlint - etc. In a few cases the option DOCS was used to control installation into EXAMPLEDIR. I opted to keep the existing logic of the port in these cases. Reviewed by: koobs, ashish
Diffstat (limited to 'misc/kcd')
-rw-r--r--misc/kcd/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/kcd/Makefile b/misc/kcd/Makefile
index 82dffad6732f..236abb4c3a80 100644
--- a/misc/kcd/Makefile
+++ b/misc/kcd/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: kcd
-# Date created: 5 May 1999
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= kcd
PORTVERSION= 7.15.0
@@ -25,6 +21,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lintl
MAN1= kcd.1
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/kcd-inst ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin
@@ -35,7 +33,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \
${PREFIX}/share/locale/${i}/LC_MESSAGES/kcd.mo
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}