diff options
Diffstat (limited to 'databases/postgresql95-plperl/Makefile')
-rw-r--r-- | databases/postgresql95-plperl/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/postgresql95-plperl/Makefile b/databases/postgresql95-plperl/Makefile new file mode 100644 index 00000000000..5e8caaa45ab --- /dev/null +++ b/databases/postgresql95-plperl/Makefile @@ -0,0 +1,30 @@ +#$ $NetBSD: Makefile,v 1.1 2016/02/25 21:37:36 tnn Exp $ + +PKGNAME= ${DISTNAME:C/-/95-plperl-/} +COMMENT= PL/Perl procedural language for the PostgreSQL backend + +DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server + +.include "../../databases/postgresql95/Makefile.common" + +USE_TOOLS+= perl +PERL5_CONFIGURE= no +CONFIGURE_ARGS+= --with-perl +BUILD_MAKE_FLAGS= PGXS=1 + +BUILD_DIRS= src/pl/plperl +MAKE_FILE= GNUmakefile + +# There is some dependency ordering problem in the Makefile, +# so force the headers to be generated first. +BUILD_TARGET= perlchunks.h plperl_opmask.h all + +#.PHONY: build-hstore_plperl +#post-build: build-hstore_plperl +#build-hstore_plperl: +# cd ${WRKSRC}/contrib/hstore_plperl && \ +# ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f Makefile all + +.include "../../databases/postgresql95-client/buildlink3.mk" +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" |