diff options
author | lioux <lioux@FreeBSD.org> | 2001-08-05 12:28:23 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-08-05 12:28:23 +0800 |
commit | aef18bed170d54d60fb30732c797d207b27f9852 (patch) | |
tree | a292dc0ec1d64b252c3ed970ef49a52237353439 /databases/freetds/Makefile | |
parent | 8c5e65d8d8d2f04a952b38aea8d165213faf9d95 (diff) | |
download | freebsd-ports-gnome-aef18bed170d54d60fb30732c797d207b27f9852.tar.gz freebsd-ports-gnome-aef18bed170d54d60fb30732c797d207b27f9852.tar.zst freebsd-ports-gnome-aef18bed170d54d60fb30732c797d207b27f9852.zip |
o Fix PLIST
o Better packaging and removal of configuration file
PR: 29428
Submitted by: Pete Fritchman <petef@databits.net>
Diffstat (limited to 'databases/freetds/Makefile')
-rw-r--r-- | databases/freetds/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile index 78a2a03ef9c5..b3793c545a07 100644 --- a/databases/freetds/Makefile +++ b/databases/freetds/Makefile @@ -22,5 +22,12 @@ INSTALLS_SHLIB= yes post-patch: @find ${WRKSRC}/src -name Makefile.in | xargs ${PERL} -pi -e \ 's| install-includeHEADERS||g' + @${PERL} -pi -e 's!/freetds.conf!/freetds.conf.dist!g' \ + ${WRKSRC}/Makefile.in + +post-install: +.if !exists(${PREFIX}/etc/freetds.conf) + @${CP} ${PREFIX}/etc/freetds.conf.dist ${PREFIX}/etc/freetds.conf +.endif .include <bsd.port.mk> |