aboutsummaryrefslogtreecommitdiff
path: root/misc/pdfmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pdfmap/Makefile')
-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}