aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-20 04:48:13 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-20 04:48:13 +0800
commit03d3212fe77ab03ea839195bf150e50313bdba6d (patch)
tree0ddcc7827f831106a87b86c7e1ceb8920441495e /converters
parent5217ad53ddea9f60e95d83f152a47c98daa42a6e (diff)
downloadfreebsd-ports-gnome-03d3212fe77ab03ea839195bf150e50313bdba6d.tar.gz
freebsd-ports-gnome-03d3212fe77ab03ea839195bf150e50313bdba6d.tar.zst
freebsd-ports-gnome-03d3212fe77ab03ea839195bf150e50313bdba6d.zip
- Clarify LICENSE
- Add LICENSE_FILE - Pet portlint - Switch to options helpers
Diffstat (limited to 'converters')
-rw-r--r--converters/xdeview/Makefile21
1 files changed, 11 insertions, 10 deletions
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 <bsd.port.mk>