aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-04-25 02:50:57 +0800
committerolgeni <olgeni@FreeBSD.org>2013-04-25 02:50:57 +0800
commit0bf542cccc5ce8ee40e11fb9dd9a0e080963df25 (patch)
treef1a78db9c66b15eafd8ccfbe3eb39a11334f721c /databases
parent14ad9938ca75de27a7fefb8868be7caf93e5ad70 (diff)
downloadfreebsd-ports-gnome-0bf542cccc5ce8ee40e11fb9dd9a0e080963df25.tar.gz
freebsd-ports-gnome-0bf542cccc5ce8ee40e11fb9dd9a0e080963df25.tar.zst
freebsd-ports-gnome-0bf542cccc5ce8ee40e11fb9dd9a0e080963df25.zip
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional. - Whitespace fix.
Diffstat (limited to 'databases')
-rw-r--r--databases/slony1v2/Makefile10
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>