29 lines
688 B
Makefile
29 lines
688 B
Makefile
# Created by: Jov amutu@amutu.com
|
|
|
|
PORTNAME= tds_fdw
|
|
DISTVERSIONPREFIX= v
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S|.||}-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PostgreSQL foreign data wrapper to connect to TDS databases
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
LIB_DEPENDS= libsybdb.so:databases/freetds
|
|
|
|
USES= gmake pgsql:9.2+
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= tds-fdw
|
|
|
|
PLIST_FILES= lib/postgresql/tds_fdw.so \
|
|
share/doc/postgresql/extension/README.tds_fdw.md \
|
|
share/postgresql/extension/tds_fdw--${DISTVERSION}.sql \
|
|
share/postgresql/extension/tds_fdw.control
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/tds_fdw.so
|
|
|
|
.include <bsd.port.mk>
|