aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pdfmap
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/pdfmap
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/pdfmap')
-rw-r--r--misc/pdfmap/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/pdfmap/Makefile b/misc/pdfmap/Makefile
index c19fa1356c2b..0b839902e074 100644
--- a/misc/pdfmap/Makefile
+++ b/misc/pdfmap/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: pdfmap
-# Date created: Mar 24, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= pdfmap
PORTVERSION= 2.00
@@ -25,11 +20,13 @@ USE_PYDISTUTILS= yes
DOCS= CREDITS NEWS README TODO doc/*.html
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}