From b188c769f2650f1a4c596b60d43f25ba20eed016 Mon Sep 17 00:00:00 2001 From: eadler Date: Mon, 25 Mar 2013 04:30:31 +0000 Subject: 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 --- misc/pdfmap/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'misc/pdfmap') 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 + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -- cgit