aboutsummaryrefslogtreecommitdiffstats
path: root/net/lmd
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-09-21 01:45:51 +0800
committernork <nork@FreeBSD.org>2002-09-21 01:45:51 +0800
commit94ab30a189c45c94a65e4753651933c00131cb55 (patch)
treeff7d834e8d6c3b2b6843d04c84dd7d0781cc0dc2 /net/lmd
parente86ebd7541d87c4a2e7f2fba00a874d764acbc78 (diff)
downloadfreebsd-ports-gnome-94ab30a189c45c94a65e4753651933c00131cb55.tar.gz
freebsd-ports-gnome-94ab30a189c45c94a65e4753651933c00131cb55.tar.zst
freebsd-ports-gnome-94ab30a189c45c94a65e4753651933c00131cb55.zip
Add install rc.d script(I forgot!), and use REINPLACE_CMD.
PR: users-jp/70854 Submitted by: Yoshihiro Yanagida <yosh@yanagi.to>
Diffstat (limited to 'net/lmd')
-rw-r--r--net/lmd/Makefile8
-rw-r--r--net/lmd/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/net/lmd/Makefile b/net/lmd/Makefile
index 1cf69392eec3..1fb8870b8e1e 100644
--- a/net/lmd/Makefile
+++ b/net/lmd/Makefile
@@ -12,6 +12,9 @@ MASTER_SITES= http://www.bsdshell.net/download/
MAINTAINER= sysadmin@alexdupre.com
+USE_REINPLACE= YES
+REINPLACE_ARGS= #empty
+
MODULES= ldd_http_module.so
DOCS= INSTALL LICENSE README
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -19,12 +22,13 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
MAKE_ENV+= CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\""
post-build:
- @${SED} 's,%PREFIX%,${PREFIX},g' ${.CURDIR}/pkg-message.in \
- > ${WRKDIR}/pkg-message
+ @${REINPLACE_CMD} -e 's,%PREFIX%,${PREFIX},g' \
+ ${.CURDIR}/pkg-message.in > ${WRKDIR}/pkg-message
do-install:
@${ECHO_CMD} "Installing files..."
@${INSTALL_PROGRAM} ${WRKSRC}/lmd ${PREFIX}/sbin/lmd
+ @${INSTALL_SCRIPT} ${FILESDIR}/lmd.sh ${PREFIX}/etc/rc.d/lmd.sh
@${INSTALL_DATA} ${WRKSRC}/lmd.conf ${PREFIX}/etc/lmd.conf.sample
.for f in ${MODULES}
@${INSTALL_DATA} ${WRKSRC}/modules_check/${f} ${PREFIX}/lib/
diff --git a/net/lmd/pkg-plist b/net/lmd/pkg-plist
index 82458824c348..6bc546004a57 100644
--- a/net/lmd/pkg-plist
+++ b/net/lmd/pkg-plist
@@ -1,4 +1,5 @@
sbin/lmd
+etc/rc.d/lmd.sh
etc/lmd.conf.sample
lib/ldd_http_module.so
%%PORTDOCS%%share/doc/lmd/README
07:37 +0800'>2008-09-092-3/+1 * Fix the incorrect location hunspell.pc. No PORTREVISION bump, becausemi2008-09-091-1/+1 * Correct the destination of hunspell.pc file -- according to pav,mi2008-09-082-3/+3 * Add two directories missing from plist...mi2008-09-041-0/+2 * Upgrade from 1.2.2b to 1.2.7.mi2008-09-046-47/+73 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.1miwi2008-09-032-5/+21 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-291-3/+3 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-182-10/+64 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.0miwi2008-08-105-484/+244 * PHP Documentation in these language has been removed from the distribution.edwin2008-08-042-14/+0 * - Update MASTER_SITESgabor2008-07-122-2/+2 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-063-2/+3 * - Update to 1.3gabor2008-04-245-75/+41 * - Fix checking on LaTeX files on amd64gabor2008-04-242-0/+12 * - Update to 1.2.2bgabor2008-04-074-51/+25 * Update to KDE 3.5.8lofi2007-10-304-8/+6 * - Fix UTF-8 buggabor2007-10-073-0/+21 * - Update to 1.2.1gabor2007-09-284-99/+89 * - Update to 1.1.10gabor2007-08-283-5/+31 * - Update to 1.1.9gabor2007-08-014-8/+18 * - Update to 1.1.8gabor2007-07-214-19/+38 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-048-29/+12 * BROKEN: Still broken on 6.x and abovekris2007-05-251-0/+2 * - Welcome X.org 7.2 \o/.flz2007-05-205-2/+5 * Remove BROKEN: This might be fixedkris2007-04-291-2/+0 * BROKEN: Does not installkris2007-03-251-0/+2 * Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-147-11/+12 * Really normalize Aspell dictionaries ports PKGVERSION...thierry2007-02-151-1/+1 * Normalize Aspell dictionaries PKGNAMEs.thierry2007-01-141-0/+1 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-205-10/+11 * - Update to 1.1.4miwi2006-11-105-71/+27 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-134-10/+10 * Now installs again.kris2006-08-171-2/+0 * Mark BROKEN: does not installerwin2006-08-041-0/+2 * Update to 1.0itetcu2006-08-013-43/+107 * All dictionaries can be installed separately:thierry2006-07-154-7/+15 * Update to KDE 3.5.3lofi2006-06-064-22/+20 * Update to KOffice 1.5.1lofi2006-05-272-4/+4 * remove USE_REINPLACE for all categories starting with Hedwin2006-05-081-1/+0 * Update to KOffice 1.5.0lofi2006-04-293-5/+8 * Update to KDE 3.5.2lofi2006-03-314-128/+22 * Update to KDE 3.5.1.lofi2006-02-014-6/+20 * SHA256ifyedwin2006-01-227-0/+8 * Update to KDE 3.5.0lofi2006-01-094-110/+48 * Remove the usage of 'misc' as a secondary category.linimon2005-11-102-2/+2 * Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-055-8/+7 * Remove all the secondary port of editors/ooodict-allmaho2005-11-012-21/+0 * Fix index build by moving openoffice.org-1.1 ports.maho2005-08-291-1/+1 * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-014-7/+7 * Update to KOffice 1.4.0a.lofi2005-07-063-30/+7 * Remove openoffice.org localized ports as I announced:maho2005-06-292-16/+0 * Update to KDE 3.4.1lofi2005-06-264-10/+4 * - Unbreak and general updatepav2005-06-061-2/+2 * Added slave port of lang/php_doc for the Hungarian languageedwin2005-05-232-0/+14 * - Update to 1.0.R.2pav2005-05-203-25/+10 * Update to KDE 3.4lofi2005-03-214-62/+270 * - Update MASTER_SITES, WWWpav2005-02-162-2/+2 * - Update MASTER_SITES, WWWpav2005-02-162-2/+2 * Add i18nized doc subdirs to kdehier and adjust i18n port plists accordingly.lofi2004-12-232-2/+0 * - Use new support for plugin ports from textproc/jdictionaryhq2004-12-194-47/+10 * Fix some more plist nits.lofi2004-12-173-3/+0 * Fix kde3-i18n ports.lofi2004-12-162-4/+4 * Update to KDE 3.3.2lofi2004-12-149-13/+16 * Update to KDE 3.3.1lofi2004-11-084-7/+7 * Update to KDE 3.3lofi2004-08-317-21/+133 * Add slaves ports for Aspell's new dictionaries.thierry2004-08-293-0/+22 * Factor out all but one of the build switches of the KDE main module portslofi2004-08-112-3/+3 * Update to 1.0.R.1arved2004-08-102-4/+4 * Update to 1.0 RC1arved2004-08-104-45/+53 * Update to version 3.2.3lofi2004-06-102-4/+4 * Add hunspell 0.9.7, improved Hungarian spelling checker.thierry2004-05-208-0/+169 * Oops. Forgot the language categories.lofi2004-05-072-3/+3 * Update to KDE 3.2.2lofi2004-04-204-40/+18 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-022-1/+3 * SIZEify (maintainer timeout)trevor2004-03-315-0/+5 * Add Hungarian version of OpenOffice.orgmaho2004-03-212-0/+16 * Reorder those filesmat2004-03-211-5/+5 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-105-4/+7 * Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-064-2/+2 * Update to KDE 3.2.0lofi2004-02-05