summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-01-16 18:52:46 +0000
committerfhajny <fhajny@pkgsrc.org>2016-01-16 18:52:46 +0000
commit78defbc439454a456d538c7de28a4568ab0320e0 (patch)
tree05f521c6aa5c1c41f17247334633c6c4fc7b4595
parentaeda2eed3797733062882fa1b40ca69b359c61db (diff)
downloadpkgsrc-78defbc439454a456d538c7de28a4568ab0320e0.tar.gz
Change databases/erlang-p1_pgsql to use erlang/module.mk.
Bump PKGREVISION.
-rw-r--r--databases/erlang-p1_pgsql/Makefile17
-rw-r--r--databases/erlang-p1_pgsql/PLIST16
2 files changed, 11 insertions, 22 deletions
diff --git a/databases/erlang-p1_pgsql/Makefile b/databases/erlang-p1_pgsql/Makefile
index e8d03e00eb4..847131917fc 100644
--- a/databases/erlang-p1_pgsql/Makefile
+++ b/databases/erlang-p1_pgsql/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2016/01/13 15:06:34 fhajny Exp $
+# $NetBSD: Makefile,v 1.3 2016/01/16 18:52:46 fhajny Exp $
DISTNAME= p1_pgsql-1.0.0
-PKGNAME= erlang-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
@@ -10,19 +10,8 @@ HOMEPAGE= http://github.com/processone/pgsql/
COMMENT= Pure Erlang PostgreSQL driver
LICENSE= erlang-public-license
-BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
-
GITHUB_PROJECT= pgsql
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
-NO_CONFIGURE= yes
-USE_TOOLS+= pax
-
-INSTALLATION_DIRS+= lib/erlang/lib/p1_pgsql
-
-do-install:
- cd ${WRKSRC} && ${PAX} -rw -pp ebin \
- ${DESTDIR}${PREFIX}/lib/erlang/lib/p1_pgsql/
-
-.include "../../lang/erlang/buildlink3.mk"
+.include "../../lang/erlang/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/erlang-p1_pgsql/PLIST b/databases/erlang-p1_pgsql/PLIST
index 0c9c5f3915e..e2c3d528a43 100644
--- a/databases/erlang-p1_pgsql/PLIST
+++ b/databases/erlang-p1_pgsql/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $
-lib/erlang/lib/p1_pgsql/ebin/p1_pgsql.app
-lib/erlang/lib/p1_pgsql/ebin/pgsql.beam
-lib/erlang/lib/p1_pgsql/ebin/pgsql_app.beam
-lib/erlang/lib/p1_pgsql/ebin/pgsql_proto.beam
-lib/erlang/lib/p1_pgsql/ebin/pgsql_sup.beam
-lib/erlang/lib/p1_pgsql/ebin/pgsql_tcp.beam
-lib/erlang/lib/p1_pgsql/ebin/pgsql_util.beam
+@comment $NetBSD: PLIST,v 1.2 2016/01/16 18:52:46 fhajny Exp $
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/p1_pgsql.app
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql.beam
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql_app.beam
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql_proto.beam
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql_sup.beam
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql_tcp.beam
+lib/erlang/lib/p1_pgsql-${PKGVERSION}/ebin/pgsql_util.beam