aboutsummaryrefslogtreecommitdiff
path: root/misc/crosspad/Makefile
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
commitfd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/crosspad/Makefile
parent48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff)
downloadports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz
ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.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
Notes
Notes: svn path=/head/; revision=315192
Diffstat (limited to 'misc/crosspad/Makefile')
-rw-r--r--misc/crosspad/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/crosspad/Makefile b/misc/crosspad/Makefile
index 1fcca06ac2ca..0e56af22880b 100644
--- a/misc/crosspad/Makefile
+++ b/misc/crosspad/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: crosspad
-# Date created: 23 September 1998
-# Whom: itojun@itojun.org
-#
+# Created by: itojun@itojun.org
# $FreeBSD$
-#
PORTNAME= crosspad
PORTVERSION= 19991202
@@ -21,8 +17,10 @@ MAN1= crosspad2ps.1 crosspad2eps.1 crosspad2tgif.1 crosspad2idraw.1 \
DOCS= PROTOCOL README.english README.japanese
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/crosspad
for i in $(DOCS); do \
${INSTALL_DATA} ${WRKSRC}/../$$i ${PREFIX}/share/doc/crosspad; \