diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /japanese/tk80/Makefile | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip |
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'japanese/tk80/Makefile')
-rw-r--r-- | japanese/tk80/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/japanese/tk80/Makefile b/japanese/tk80/Makefile index 802fe6b03974..08f1f700bc08 100644 --- a/japanese/tk80/Makefile +++ b/japanese/tk80/Makefile @@ -3,7 +3,7 @@ # Date created: 26 Dec 1997 # Whom: taguchi@tohoku.iij.ad.jp # -# $Id: Makefile,v 1.7 1998/09/28 15:15:11 kuriyama Exp $ +# $Id: Makefile,v 1.8 1998/11/02 03:47:50 steve Exp $ # DISTNAME= tk8.0.3 @@ -31,6 +31,8 @@ USE_AUTOCONF= yes USE_XLIB= yes CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${VERSION}jp +.include <bsd.port.pre.mk> + .if !defined(NOPORTDOCS) post-patch: @${CP} ${FILESDIR}/README.FreeBSD.in ${TOPDIR}/README.FreeBSD.JP.in @@ -50,9 +52,9 @@ post-install: ) .endif @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libtk80jp.so.1.2 ${PREFIX}/lib/libtk80jp.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libtk80jp.so.1.2 ${PREFIX}/lib/libtk80jp.so +.endif @${CAT} ${PKGDIR}/MESSAGE test: @@ -61,4 +63,4 @@ test: install-man: cd ${WRKSRC} && ${MAKE} install-man -.include <bsd.port.mk> +.include <bsd.port.post.mk> |