summaryrefslogtreecommitdiff
path: root/databases/freetds/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-12-30 16:39:39 +0000
committerjlam <jlam@pkgsrc.org>2005-12-30 16:39:39 +0000
commit06b8122436c94de559d001862928d1125befb194 (patch)
tree771dc8ab9af22e010264b2e79afb13018b8d30e8 /databases/freetds/Makefile
parentf1de2e9253a7845bb86b60a9eec17879f14de24f (diff)
downloadpkgsrc-06b8122436c94de559d001862928d1125befb194.tar.gz
Remove some unnecessary patches that removed targets to install the
configuration files. It's easier just to override the installation destination during the install phase by setting INSTALL_MAKE_FLAGS.
Diffstat (limited to 'databases/freetds/Makefile')
-rw-r--r--databases/freetds/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 84f2da2911a..1845835b445 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/12/29 06:21:35 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2005/12/30 16:39:39 jlam Exp $
DISTNAME= freetds-0.63
PKGREVISION= 2
@@ -21,16 +21,12 @@ CONFIGURE_ARGS+= --with-tdsver=7.0
# no thread-safe resolver functions on NetBSD
CONFIGURE_ARGS+= --disable-threadsafe
+INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} ETC=${EGDIR:Q}
+
EGDIR= ${PREFIX}/share/examples/freetds
CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf
CONF_FILES+= ${EGDIR}/pool.conf ${PKG_SYSCONFDIR}/pool.conf
-post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/locales.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/src/pool/pool.conf ${EGDIR}
-
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"