diff options
author | marino <marino@FreeBSD.org> | 2014-08-15 04:43:48 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-15 04:43:48 +0800 |
commit | ffe8f867380304a6b93d9201062bbe147b76c625 (patch) | |
tree | 794bf258cb2ae881c4ba169ead3806f29e0a140b | |
parent | 23f90556480a26af9aa8c48712a503d527397469 (diff) | |
download | freebsd-ports-gnome-ffe8f867380304a6b93d9201062bbe147b76c625.tar.gz freebsd-ports-gnome-ffe8f867380304a6b93d9201062bbe147b76c625.tar.zst freebsd-ports-gnome-ffe8f867380304a6b93d9201062bbe147b76c625.zip |
sysutils/LPRng: previous update broke config file locations, so fix them
PR: 192647
Submitted by: Adam McDougall
Approved by: Nobody; port is unmaintained
-rw-r--r-- | sysutils/LPRng/Makefile | 8 | ||||
-rw-r--r-- | sysutils/LPRng/pkg-plist | 7 |
2 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile index 39bec96b2ae6..7cdc5a9b1356 100644 --- a/sysutils/LPRng/Makefile +++ b/sysutils/LPRng/Makefile @@ -3,6 +3,7 @@ PORTNAME= LPRng PORTVERSION= 3.8.C +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils print MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl} @@ -22,8 +23,6 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-config_subdir="" \ --with-filterdir=${PREFIX}/libexec/filters \ --with-filter_path="${PREFIX}/bin:/bin:/usr/bin:${PREFIX}/sbin:/sbin:/usr/sbin" \ - --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" MAKE_ARGS= INSTALLCONFIGEXAMPLES="" @@ -49,14 +48,13 @@ NLS_CONFIGURE_ENV= gt_cv_func_gnugettext1_libc=yes \ NLS_LDFLAGS= -lintl post-install: - @${MKDIR} ${STAGEDIR}${DATADIR} .for i in lpd.perms printcap (cd ${WRKSRC}/conf && $ ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DATADIR}/${i}.sample) + ${STAGEDIR}/${PREFIX}/etc/${i}.sample) .endfor .for i in lpd.conf (cd ${WRKSRC}/src && $ ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DATADIR}/${i}.sample) + ${STAGEDIR}/${PREFIX}/etc/${i}.sample) .endfor .include <bsd.port.mk> diff --git a/sysutils/LPRng/pkg-plist b/sysutils/LPRng/pkg-plist index 12822fe8b37f..c9f5ef28fdfd 100644 --- a/sysutils/LPRng/pkg-plist +++ b/sysutils/LPRng/pkg-plist @@ -31,12 +31,11 @@ sbin/lpc sbin/lpd sbin/lprng_certs sbin/lprng_index_certs -%%DATADIR%%/lpd.conf.sample -%%DATADIR%%/lpd.perms.sample -%%DATADIR%%/printcap.sample +@sample etc/lpd.conf.sample +@sample etc/lpd.perms.sample +@sample etc/printcap.sample %%NLS%%share/locale/de/LC_MESSAGES/LPRng.mo %%NLS%%share/locale/fr/LC_MESSAGES/LPRng.mo %%NLS%%share/locale/pl/LC_MESSAGES/LPRng.mo %%NLS%%share/locale/vi/LC_MESSAGES/LPRng.mo -@dirrm %%DATADIR%% @dirrm libexec/filters |