diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2013-04-24 18:50:57 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2013-04-24 18:50:57 +0000 |
commit | ed3f85f18a1caaa3ebaa1ba882d1d1212f97189c (patch) | |
tree | f1a78db9c66b15eafd8ccfbe3eb39a11334f721c | |
parent | - Convert to new option framework (diff) |
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional.
- Whitespace fix.
Notes
Notes:
svn path=/head/; revision=316469
-rw-r--r-- | databases/slony1v2/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile index 34deaa3fe7f8..7460b917bc14 100644 --- a/databases/slony1v2/Makefile +++ b/databases/slony1v2/Makefile @@ -30,10 +30,10 @@ PERLTOOLS_DESC= Install perl configuration tools CONFLICTS?= slony1-1* -.include <bsd.port.pre.mk> - CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex +.include <bsd.port.options.mk> + .if ${PORT_OPTIONS:MPERLTOOLS} USE_PERL5= yes CONFIGURE_ARGS+=--with-perltools=${LOCALBASE}/sbin @@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \ --with-pgsharedir=${LOCALBASE}/share/postgresql .if !defined(NO_INSTALL_MANPAGES) -MAN1= slon.1 slonik.1 +MAN1= slon.1 slonik.1 .endif # Setting/finding PostgreSQL version we want. @@ -70,9 +70,7 @@ PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \ PGSQL_VER= ${DEFAULT_PGSQL_VER} .endif -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * -.endif DOCS= COPYRIGHT HISTORY-1.1 INSTALL README README.Unicode RELEASE \ RELEASE-2.0 SAMPLE TODO UPGRADING @@ -95,4 +93,4 @@ post-install: @${INSTALL_DATA} ${FILESDIR}/slon.conf-sample ${PREFIX}/etc/ @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |