mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional. - Whitespace fix.
This commit is contained in:
parent
4dbbf90a88
commit
ed3f85f18a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316469
1 changed files with 4 additions and 6 deletions
|
@ -30,10 +30,10 @@ PERLTOOLS_DESC= Install perl configuration tools
|
||||||
|
|
||||||
CONFLICTS?= slony1-1*
|
CONFLICTS?= slony1-1*
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex
|
CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MPERLTOOLS}
|
.if ${PORT_OPTIONS:MPERLTOOLS}
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
CONFIGURE_ARGS+=--with-perltools=${LOCALBASE}/sbin
|
CONFIGURE_ARGS+=--with-perltools=${LOCALBASE}/sbin
|
||||||
|
@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
|
||||||
--with-pgsharedir=${LOCALBASE}/share/postgresql
|
--with-pgsharedir=${LOCALBASE}/share/postgresql
|
||||||
|
|
||||||
.if !defined(NO_INSTALL_MANPAGES)
|
.if !defined(NO_INSTALL_MANPAGES)
|
||||||
MAN1= slon.1 slonik.1
|
MAN1= slon.1 slonik.1
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Setting/finding PostgreSQL version we want.
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
@ -70,9 +70,7 @@ PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \
|
||||||
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
|
||||||
|
|
||||||
DOCS= COPYRIGHT HISTORY-1.1 INSTALL README README.Unicode RELEASE \
|
DOCS= COPYRIGHT HISTORY-1.1 INSTALL README README.Unicode RELEASE \
|
||||||
RELEASE-2.0 SAMPLE TODO UPGRADING
|
RELEASE-2.0 SAMPLE TODO UPGRADING
|
||||||
|
@ -95,4 +93,4 @@ post-install:
|
||||||
@${INSTALL_DATA} ${FILESDIR}/slon.conf-sample ${PREFIX}/etc/
|
@${INSTALL_DATA} ${FILESDIR}/slon.conf-sample ${PREFIX}/etc/
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue