aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-21 13:15:37 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-21 13:15:37 +0000
commit72854d2d4b8215bcb8b1acfbbef27bcbc354d303 (patch)
tree7e251e9272d8df708060ddc3984e46f9123bf8eb /databases
parente57610b982c9fae7dc14fd2e7dbfb67ce2ff022a (diff)
- Add LICENSE
- STAGE-clean
Notes
Notes: svn path=/head/; revision=345388
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds-devel/Makefile23
-rw-r--r--databases/freetds-devel/files/pkg-message.in2
-rw-r--r--databases/freetds-devel/pkg-plist9
3 files changed, 20 insertions, 14 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index f4f65f9ab775..6ea1733561c7 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/Makefile
@@ -11,6 +11,8 @@ PKGNAMESUFFIX= -devel
MAINTAINER= fbsd-ports@opsec.eu
COMMENT= Sybase/Microsoft TDS protocol library
+LICENSE= LGPL20
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
TDS_VER?= 5.0
USES= gmake iconv pkgconfig
@@ -20,13 +22,10 @@ CPPFLAGS+= "-I${LOCALBASE}/include"
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-tdsver=${TDS_VER}
USE_LDCONFIG= yes
+SUB_FILES= pkg-message
PORTDOCS= *
-MAN1= datacopy.1 freebcp.1 tsql.1 bsqldb.1 bsqlodbc.1 \
- defncopy.1 fisql.1 osql.1
-MAN5= freetds.conf.5
-
# OPTIONS_DEFINE= OPENSSL GNUTLS IODBC UNIXODBC MSDBLIB
OPTIONS_DEFINE= MSDBLIB ODBCWIDE
@@ -45,7 +44,6 @@ ODBCWIDE_DESC= Enable Wide ODBC Support
CONFLICTS= freetds-0.64.[0-9]
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
@@ -102,14 +100,11 @@ post-patch:
s|%%ICONV_LIB%%|${ICONV_LIB}|'
post-install:
-.if !defined(NOPORTDOCS)
- @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${DOCSDIR}
- @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc/${PORTNAME}-${PORTVERSION}/reference ${DOCSDIR}
- @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc/${PORTNAME}-${PORTVERSION}/userguide ${DOCSDIR}
-.endif
- @${MKDIR} ${PREFIX}/etc/freetds
- @${INSTALL_DATA} ${WRKSRC}/interfaces ${PREFIX}/etc/freetds/interfaces.dist
- @${ECHO_CMD} "Sample configuration files have been installed in ${PREFIX}/etc"
- @${ECHO_CMD} "You should edit them and remove the .dist-suffix from their names"
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc/${PORTNAME}-${PORTVERSION}/reference ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc/${PORTNAME}-${PORTVERSION}/userguide ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/freetds
+ @${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${PREFIX}/etc/freetds/interfaces.dist
.include <bsd.port.mk>
diff --git a/databases/freetds-devel/files/pkg-message.in b/databases/freetds-devel/files/pkg-message.in
new file mode 100644
index 000000000000..db88a3bd25cc
--- /dev/null
+++ b/databases/freetds-devel/files/pkg-message.in
@@ -0,0 +1,2 @@
+Sample configuration files have been installed in %%PREFIX%%/etc.
+You should edit them and remove the .dist-suffix from their names.
diff --git a/databases/freetds-devel/pkg-plist b/databases/freetds-devel/pkg-plist
index 923bd0c4498b..08004773a1e1 100644
--- a/databases/freetds-devel/pkg-plist
+++ b/databases/freetds-devel/pkg-plist
@@ -21,6 +21,15 @@ include/syberror.h
include/sybfront.h
include/tds_sysdep_public.h
include/odbcss.h
+man/man1/datacopy.1.gz
+man/man1/freebcp.1.gz
+man/man1/tsql.1.gz
+man/man1/bsqldb.1.gz
+man/man1/bsqlodbc.1.gz
+man/man1/defncopy.1.gz
+man/man1/fisql.1.gz
+man/man1/osql.1.gz
+man/man5/freetds.conf.5.gz
lib/libct.a
lib/libct.la
lib/libct.so