diff options
author | cy <cy@FreeBSD.org> | 2011-06-11 03:45:20 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2011-06-11 03:45:20 +0800 |
commit | 6dbda24720e2c61542f2e8b1b0ce027ebd78cda9 (patch) | |
tree | c949fca18c2d45ac953299c19c851ca7c707e1af /sysutils/syslog-ng-devel | |
parent | 6f8ad462bd6d41a4a966beaa693674eb72a2c54d (diff) | |
download | freebsd-ports-graphics-6dbda24720e2c61542f2e8b1b0ce027ebd78cda9.tar.gz freebsd-ports-graphics-6dbda24720e2c61542f2e8b1b0ce027ebd78cda9.tar.zst freebsd-ports-graphics-6dbda24720e2c61542f2e8b1b0ce027ebd78cda9.zip |
Pkg-plist fixes.
Diffstat (limited to 'sysutils/syslog-ng-devel')
-rw-r--r-- | sysutils/syslog-ng-devel/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile index 22dbec5541e..44d23d635af 100644 --- a/sysutils/syslog-ng-devel/Makefile +++ b/sysutils/syslog-ng-devel/Makefile @@ -116,6 +116,7 @@ post-patch: ${WRKSRC}/lib/utils.c ${WRKSRC}/lib/utils.h .endif + post-install: .if !defined(NOPORTDOCS) ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \ @@ -130,8 +131,8 @@ post-install: @if [ ! -f ${PREFIX}/etc/syslog-ng.conf.sample ]; then \ ${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample ${PREFIX}/etc; \ fi - @if [ ! -f ${PREFIX}/etc/syslog-ng.conf ]; then \ - ${CP} ${PREFIX}/etc/syslog-ng.conf.sample ${PREFIX}/etc/syslog-ng.conf; \ + @if [ ! -f ${PREFIX}/etc/syslog-ng.conf.dist ]; then \ + ${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist ${PREFIX}/etc; \ fi @${CAT} ${PKGMESSAGE} |