aboutsummaryrefslogtreecommitdiffstats
path: root/converters/xdeview
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-10-18 21:04:32 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-10-18 21:04:32 +0800
commit9229e065b5902ddb15740c1bca0f7c9866ddd9b6 (patch)
treee5eda15d5ee4daa165e9519cf014560fe0069a30 /converters/xdeview
parentf8e6eab5f389004623db62d7baf218cc256e7bca (diff)
downloadfreebsd-ports-gnome-9229e065b5902ddb15740c1bca0f7c9866ddd9b6.tar.gz
freebsd-ports-gnome-9229e065b5902ddb15740c1bca0f7c9866ddd9b6.tar.zst
freebsd-ports-gnome-9229e065b5902ddb15740c1bca0f7c9866ddd9b6.zip
- Add LICENSE
- Support USE_TK - Add MAKE_JOBS_SAFE PR: 161629 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'converters/xdeview')
-rw-r--r--converters/xdeview/Makefile31
-rw-r--r--converters/xdeview/pkg-plist4
2 files changed, 18 insertions, 17 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile
index c067f444a69a..b4ebdbfe3fda 100644
--- a/converters/xdeview/Makefile
+++ b/converters/xdeview/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xdeview
PORTVERSION= 0.5.20
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= converters tcl tk
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION}
@@ -15,23 +15,20 @@ DISTNAME= uudeview-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
-LIB_DEPENDS= uu.3:${PORTSDIR}/converters/uulib \
- tk84.1:${PORTSDIR}/x11-toolkits/tk84
+LICENSE= GPLv2
+LIB_DEPENDS= uu.3:${PORTSDIR}/converters/uulib
+
+USE_TK_BUILD= 82+
+USE_TK= 82+
GNU_CONFIGURE= yes
# Explicitly disable Tcl otherwise the configure script picks-up
-# crud from the $PATH lie /usr/opt/Simili/tcl/.
+# crud from the $PATH like /usr/opt/Simili/tcl/.
CONFIGURE_ARGS= --disable-tcl --disable-tk
-
ALL_TARGET= xdeview
INSTALL_TARGET= install-tcl
-MAN1= xdeview.1
-
-DOCFILES= ${FILESDIR}/porting.notes
-
-USE_TK= 82+
+MAKE_JOBS_SAFE= yes
-.include <bsd.port.pre.mk>
CPPFLAGS+= -I${TCL_INCLUDEDIR} -DHAVE_TCL \
-I${TK_INCLUDEDIR} -DHAVE_TK \
-I${LOCALBASE}/include
@@ -39,15 +36,23 @@ LDFLAGS+= -L${LOCALBASE}/lib \
-lX11 -ltcl${TCL_VER:S/.//} \
-ltk${TCL_VER:S/.//} -lm
+MAN1= xdeview.1
+PORTDOCS= porting.notes
+PLIST_FILES= bin/uuwish bin/xdeview
+
+.include <bsd.port.pre.mk>
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/uuwish
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documents to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ @${INSTALL_DATA} ${FILESDIR}/${file} ${DOCSDIR}
+.endfor
.else
@${ECHO_MSG} "===> Not installing available documents"
.endif
- ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${MANPREFIX}/man/man1
.include <bsd.port.post.mk>
diff --git a/converters/xdeview/pkg-plist b/converters/xdeview/pkg-plist
deleted file mode 100644
index 90ab037f8eb2..000000000000
--- a/converters/xdeview/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/uuwish
-bin/xdeview
-%%PORTDOCS%%%%DOCSDIR%%/porting.notes
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
nome/commit/news/tin/Makefile?h=mate-1.18&id=979e847ee9db3dc7e41c2bfb3e56d9c2c5b33b36'>Exclude 700000-700033 for ncurseswache2007-06-151-3/+3 * Use ncursesw when availableache2007-06-151-3/+8 * Add WITH_TIN_SCREEN knobache2007-03-011-1/+2 * Rename url_handler.sh to tinurl_handler.sh to avoid conflict withache2007-02-131-5/+12 * Update to 1.8.3ache2007-02-111-11/+14 * Remove stale mirrorache2006-11-121-9/+9 * Upgrade to 1.8.2ache2006-05-271-1/+1 * Upgrade to 1.8.1ache2006-03-161-2/+1 * Add working mirror instead of dead oneache2006-01-231-1/+1 * Fix allocation off-by-oneache2006-01-201-0/+1 * Upgrade to 1.8.0ache2006-01-061-5/+5 * Upgrade to 1.7.10ache2005-10-181-2/+1 * Bump PORTREVISION for unexec rmdirache2005-10-131-0/+1 * Upgrade to 1.7.9ache2005-10-051-1/+1 * Fix build when WITH_TIN_CANLOCK is definedvs2005-07-281-1/+2 * Upgrade to 1.7.8ache2005-06-011-3/+3 * Upgrade to 1.7.7ache2005-03-111-7/+6 * Use += for CONFIGURE_ARGS to help slave portsache2004-03-311-1/+1 * - Use USE_ICONV knobkrion2004-03-311-1/+1 * Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-2/+2 * Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1 * - Chase uulib versionclement2004-01-181-1/+2 * Allow the default compiled-in editor to be easily changed.obrien2003-11-131-1/+2 * Upgrade to 1.6.2ache2003-10-041-2/+1 * Use PCRE from portsache2003-09-281-5/+4 * Add optional CANLOCK functionalityache2003-08-301-0/+9 * Bump the PORTREVISION for the ports directly affected by the gettext upgrade.marcus2003-08-271-0/+1 * Chase the libintl.so shared lib version.marcus2003-08-251-1/+1 * Upgrade to 1.6.1ache2003-08-161-22/+22 * Add pgp5 support, as the pgp6 port is marked broken.obrien2003-07-201-0/+4 * Update to version 1.6.0.demon2003-07-161-5/+5 * Upgrade to 1.5.18ache2003-06-041-1/+1 * Update to version 1.5.17.demon2003-05-091-2/+1 * Clear moonlight beckons.ade2003-03-071-0/+1