From 7d49caae5a3ebd8bc6fc4d9fbec6e0d55161d95f Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Sat, 4 Jan 1997 13:19:40 +0000 Subject: Rename files/.{emacs,mosaic-hotlist-default} to dot.{emacs,mosaic-hotlist-default}. Install sample files into share/examples/w3 instead of to share/doc/w3. Use PKG_PREFIX in the installation/deinstallation scripts. Some Makefile cleanup. Submitted by: (Kiriyama Kazuhiko) --- japanese/w3/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'japanese/w3') diff --git a/japanese/w3/Makefile b/japanese/w3/Makefile index e12ab5b29dab..43bacd12a31f 100644 --- a/japanese/w3/Makefile +++ b/japanese/w3/Makefile @@ -1,9 +1,9 @@ # New ports collection makefile for: w3 on Mule # Version required: 2.2.26 -# Date created: 30 November 1996 +# Date created: 31 December 1996 # Whom: MITA Yoshio # -# $Id$ +# $Id: Makefile,v 1.2 1997/01/04 00:39:53 max Exp $ # DISTNAME= w3-2.2.26 @@ -22,18 +22,20 @@ BUILD_DEPENDS= mule:${PORTSDIR}/editors/mule WRKSRC= ${WRKDIR}/w3 DOCDIR= ${PREFIX}/share/doc/w3 +SAMPLEDIR= ${PREFIX}/share/examples/w3 post-install: .if !defined(NOPORTDOCS) - @if [ ! -d ${DOCDIR} ]; then mkdir -p ${DOCDIR}; fi -.for f in .emacs .mosaic-hotlist-default - @${CP} ${FILESDIR}/${f} ${DOCDIR} + @${MKDIR} ${DOCDIR} + @${MKDIR} ${SAMPLEDIR} +.for f in dot.emacs dot.mosaic-hotlist-default + @${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR} .endfor - @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${DOCDIR} + @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR} .for f in W3.ad clean-cache Makefile w3.txi - @${CP} ${WRKSRC}/${f} ${DOCDIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR} .endfor .endif - @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + @${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include -- cgit v1.2.3