summaryrefslogtreecommitdiff
path: root/databases/postgresql-uuid/Makefile.common
blob: 4a4baed4ce5518103fbf8202631b7e976ff573f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile.common,v 1.3 2011/06/10 09:51:15 obache Exp $
#
# used by databases/postgresql83-uuid
# used by databases/postgresql84-uuid
# used by databases/postgresql90-uuid

DISTNAME=	uuid-freebsd-1.0.2
PKGNAME=	postgresql${PGSQL_VERSION}-uuid-1.0.2
CATEGORIES=	databases
MASTER_SITES=	http://pgfoundry.org/frs/download.php/2605/
EXTRACT_SUFX=	.tgz

MAINTAINER=	brook@nmsu.edu
HOMEPAGE=	http://pgfoundry.org/projects/uuid-freebsd/
COMMENT=	UUID creation functions for PostgreSQL
LICENSE=	isc

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	gmake

DESCR_SRC=	../../databases/postgresql-uuid/DESCR
DISTINFO_FILE=	${.CURDIR}/../../databases/postgresql-uuid/distinfo
PATCHDIR=	../../databases/postgresql-uuid/patches
PLIST_SRC=	../../databases/postgresql-uuid/PLIST

post-extract:
	${MV} ${WRKSRC}/uuid-freebsd.c ${WRKSRC}/uuid.c
	${MV} ${WRKSRC}/uninstall_uuid-freebsd.sql \
		${WRKSRC}/uninstall_uuid.sql
	${MV} ${WRKSRC}/uuid-freebsd.sql.in ${WRKSRC}/uuid.sql.in

.include "../../databases/postgresql${PGSQL_VERSION}-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"