diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 96bc8048c3217bb231f2f30eadeb628134b557f5 (patch) | |
tree | c75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /japanese/Canna/Makefile | |
parent | Checksum changed.... (diff) |
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.
Notes
Notes:
svn path=/head/; revision=14512
Diffstat (limited to 'japanese/Canna/Makefile')
-rw-r--r-- | japanese/Canna/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/japanese/Canna/Makefile b/japanese/Canna/Makefile index ae91cb6723a6..f470d02b0b63 100644 --- a/japanese/Canna/Makefile +++ b/japanese/Canna/Makefile @@ -4,7 +4,7 @@ # Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> # NIIMI Satoshi <sa2c@and.or.jp> # -# $Id: Makefile,v 1.21 1998/09/21 22:31:23 steve Exp $ +# $Id: Makefile,v 1.22 1998/10/10 15:27:26 kuriyama Exp $ # DISTNAME= Canna32p2 @@ -33,17 +33,19 @@ MANCOMPRESSED= no STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh +.include <bsd.port.pre.mk> + pre-install: ${MKDIR} /var/run/canna chown bin.bin /var/run/canna post-install: - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libRKC.so.1.0 ${PREFIX}/lib/libRKC.so; \ - ${LN} -sf libRKC16.so.1.0 ${PREFIX}/lib/libRKC16.so; \ - ${LN} -sf libcanna.so.1.0 ${PREFIX}/lib/libcanna.so; \ - ${LN} -sf libcanna16.so.1.0 ${PREFIX}/lib/libcanna16.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libRKC.so.1.0 ${PREFIX}/lib/libRKC.so + ${LN} -sf libRKC16.so.1.0 ${PREFIX}/lib/libRKC16.so + ${LN} -sf libcanna.so.1.0 ${PREFIX}/lib/libcanna.so + ${LN} -sf libcanna16.so.1.0 ${PREFIX}/lib/libcanna16.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib @if [ ! -f ${STARTUP_SCRIPT} ]; then \ echo "Installing ${STARTUP_SCRIPT} startup file."; \ @@ -63,4 +65,4 @@ post-install: fi @${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> |