From 03d3212fe77ab03ea839195bf150e50313bdba6d Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 19 Nov 2015 20:48:13 +0000 Subject: - Clarify LICENSE - Add LICENSE_FILE - Pet portlint - Switch to options helpers --- converters/xdeview/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'converters') diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile index cc5dbb4415b4..181b677b77e2 100644 --- a/converters/xdeview/Makefile +++ b/converters/xdeview/Makefile @@ -11,13 +11,12 @@ DISTNAME= uudeview-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding -LICENSE= GPLv2 - -OPTIONS_DEFINE= DOCS +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libuu.so:${PORTSDIR}/converters/uulib -USES+= tk desthack +USES= desthack tk GNU_CONFIGURE= yes # Explicitly disable Tcl otherwise the configure script picks-up # crud from the $PATH like /usr/opt/Simili/tcl/. @@ -32,15 +31,17 @@ LDFLAGS+= -L${LOCALBASE}/lib \ -lX11 -ltcl${TCL_VER:S/.//} \ -ltk${TCL_VER:S/.//} -lm -PORTDOCS= porting.notes +PORTDOCS= * PLIST_FILES= bin/uuwish bin/xdeview man/man1/xdeview.1.gz +OPTIONS_DEFINE= DOCS + post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuwish - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${FILESDIR}/${file} ${STAGEDIR}${DOCSDIR} -.endfor + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuwish ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${STAGEDIR}${MANPREFIX}/man/man1 +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} + .include -- cgit