mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
- Pet portlint
- Switch to options helpers - Update WWW Approved by: portmgr blanket
This commit is contained in:
parent
0abf7b44b6
commit
7b3c8f0992
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477318
@ -15,8 +15,6 @@ COMMENT= TCL extension for accessing a PostgreSQL server (PGTCL-NG)
|
||||
LICENSE= PostgreSQL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.if defined(PGTCL_SLAVE)
|
||||
USES= pgsql:${PGTCL_SLAVE}
|
||||
.else
|
||||
@ -29,17 +27,15 @@ USE_LDCONFIG= ${LIBDIR}
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||
MANUALREL= 20171113
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DISTFILES+= pgtcldocs-${MANUALREL}.zip:doc
|
||||
MASTER_SITES+= SF/pgtclng/Manual/${MANUALREL}:doc
|
||||
.endif
|
||||
|
||||
PLIST_FILES= lib/pgtcl/libpgtcl${PORTVERSION}.so \
|
||||
lib/pgtcl/pkgIndex.tcl
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
DOCS_DISTFILES= pgtcldocs-${MANUALREL}.zip:doc
|
||||
DOCS_MASTER_SITES= SF/pgtclng/Manual/${MANUALREL}:doc
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's,tclstub,tcl,g' \
|
||||
-e 's,-DUSE_TCL_STUBS=1,-UUSE_TCL_STUBS,g' \
|
||||
@ -49,11 +45,11 @@ do-install:
|
||||
@${MKDIR} ${STAGEDIR}${LIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl \
|
||||
${WRKSRC}/libpgtcl${PORTVERSION}.so ${STAGEDIR}${LIBDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${TAR} -xf ${DISTDIR}/${_DISTFILES:M*.zip} -C ${STAGEDIR}${DOCSDIR} \
|
||||
--strip-components 1 --no-same-permission --no-same-owner
|
||||
${CHMOD} ${SHAREMODE} ${STAGEDIR}${DOCSDIR}/*
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,4 +2,4 @@ A TCL extension for accessing PostgreSQL databases. This used
|
||||
to come bunlded with PostgreSQL itself, but was split into a
|
||||
separate project in more recent version (8+).
|
||||
|
||||
WWW: http://sourceforge.net/projects/pgtclng/
|
||||
WWW: https://sourceforge.net/projects/pgtclng/
|
||||
|
Loading…
x
Reference in New Issue
Block a user