- Use bsd.port.options.mk.

- PORTDOCS should not be conditional.
- Whitespace fix.
This commit is contained in:
Jimmy Olgeni 2013-04-24 18:50:57 +00:00
parent 4dbbf90a88
commit ed3f85f18a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316469

View file

@ -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
@ -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>