Support stage

This commit is contained in:
Baptiste Daroussin 2014-03-06 18:14:28 +00:00
parent 302f9443e1
commit 38390d95ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347292

View File

@ -9,13 +9,15 @@ MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION} DISTNAME= uudeview-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding COMMENT= X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
LICENSE= GPLv2 LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
LIB_DEPENDS= libuu.so:${PORTSDIR}/converters/uulib LIB_DEPENDS= libuu.so:${PORTSDIR}/converters/uulib
USES+= tk USES+= tk desthack
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
# Explicitly disable Tcl otherwise the configure script picks-up # Explicitly disable Tcl otherwise the configure script picks-up
# crud from the $PATH like /usr/opt/Simili/tcl/. # crud from the $PATH like /usr/opt/Simili/tcl/.
@ -30,22 +32,15 @@ LDFLAGS+= -L${LOCALBASE}/lib \
-lX11 -ltcl${TCL_VER:S/.//} \ -lX11 -ltcl${TCL_VER:S/.//} \
-ltk${TCL_VER:S/.//} -lm -ltk${TCL_VER:S/.//} -lm
MAN1= xdeview.1
PORTDOCS= porting.notes PORTDOCS= porting.notes
PLIST_FILES= bin/uuwish bin/xdeview PLIST_FILES= bin/uuwish bin/xdeview man/man1/xdeview.1.gz
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install: post-install:
${STRIP_CMD} ${PREFIX}/bin/uuwish ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuwish
.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Installing documents to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS} .for file in ${PORTDOCS}
@${INSTALL_DATA} ${FILESDIR}/${file} ${DOCSDIR} @${INSTALL_DATA} ${FILESDIR}/${file} ${STAGEDIR}${DOCSDIR}
.endfor .endfor
.endif ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${MANPREFIX}/man/man1
.include <bsd.port.post.mk> .include <bsd.port.mk>