diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-10-18 21:04:32 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-10-18 21:04:32 +0800 |
commit | 9229e065b5902ddb15740c1bca0f7c9866ddd9b6 (patch) | |
tree | e5eda15d5ee4daa165e9519cf014560fe0069a30 /converters | |
parent | f8e6eab5f389004623db62d7baf218cc256e7bca (diff) | |
download | freebsd-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')
-rw-r--r-- | converters/xdeview/Makefile | 31 | ||||
-rw-r--r-- | converters/xdeview/pkg-plist | 4 |
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%% |