aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/LPRng
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2006-07-20 01:01:41 +0800
committerstefan <stefan@FreeBSD.org>2006-07-20 01:01:41 +0800
commit928c5f06dbc61263941347d198e3344a98383d38 (patch)
tree71bb460c6a54cf7fdfd187f1d1fdcf231e1404a3 /sysutils/LPRng
parent5ca1a4beeb09074f62466db260bbb56149568755 (diff)
downloadfreebsd-ports-gnome-928c5f06dbc61263941347d198e3344a98383d38.tar.gz
freebsd-ports-gnome-928c5f06dbc61263941347d198e3344a98383d38.tar.zst
freebsd-ports-gnome-928c5f06dbc61263941347d198e3344a98383d38.zip
- Fix installation directory of configuration files for cases in which
$PORT_REPLACES_BASE_LPR is defined. - Install startup files to ${LOCALBASE}/etc/rc.d, not /etc/rc.d. PR: 93032 Submitted by: Dmitry Kazarov <kazarov@mcm.ru> Approved by: arved (mentor)
Diffstat (limited to 'sysutils/LPRng')
-rw-r--r--sysutils/LPRng/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile
index 9a29668f2dae..6f66e9e79016 100644
--- a/sysutils/LPRng/Makefile
+++ b/sysutils/LPRng/Makefile
@@ -7,6 +7,7 @@
PORTNAME= LPRng
PORTVERSION= 3.8.28
+PORTREVISION= 1
CATEGORIES= sysutils print
MASTER_SITES= ftp://ftp.lprng.com/pub/%SUBDIR%/ \
ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
@@ -35,8 +36,8 @@ CONFIGURE_ARGS= \
--with-sbindir=${PREFIX}/sbin \
--with-filterdir=${PREFIX}/libexec/filters \
--with-filter_path="${PREFIX}/bin:/bin:/usr/bin:${PREFIX}/sbin:/sbin:/usr/sbin" \
- --with-lpd_conf_path=${PREFIX}/etc/lpd.conf \
- --with-lpd_perms_path=${PREFIX}/etc/lpd.perms \
+ --with-lpd_conf_path=${SYSCONFDIR}/lpd.conf \
+ --with-lpd_perms_path=${SYSCONFDIR}/lpd.perms \
--with-printcap_path=/etc/printcap \
--with-ld_library_path="${PREFIX}/lib:/lib:/usr/lib:/${LOCALBASE}/lib" \
--enable-gdbm=${LOCALBASE}
@@ -90,8 +91,8 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/lpd.conf ${SYSCONFDIR}/lpd.conf.sample
@${INSTALL_DATA} ${WRKSRC}/lpd.perms ${SYSCONFDIR}/lpd.perms.sample
@${INSTALL_DATA} ${WRKSRC}/printcap ${SYSCONFDIR}/printcap.sample
- @${MKDIR} ${PREFIX}/etc/rc.d
- @${INSTALL_DATA} ${WRKSRC}/init.freebsd ${PREFIX}/etc/rc.d/lprng.sh
+ @${MKDIR} ${LOCALBASE}/etc/rc.d
+ @${INSTALL_DATA} ${WRKSRC}/init.freebsd ${LOCALBASE}/etc/rc.d/lprng.sh
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}/Reference