mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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) <kiri@kiri.toba-cmt.ac.jp>
This commit is contained in:
parent
f0bc728d03
commit
7d49caae5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5204
@ -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 <mita@ee.t.u-tokyo.ac.jp>
|
||||
#
|
||||
# $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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user