freebsd-ports/databases/pg_filedump/Makefile
2014-07-22 17:45:13 +00:00

36 lines
1,022 B
Makefile

# $FreeBSD$
PORTNAME= pg_filedump
PORTVERSION= 8.4
CATEGORIES= databases
MASTER_SITES= http://sources.redhat.com/rhdb/tools/
EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to format PostgreSQL heap, index, etc into human-readable form
FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql84-client:patch
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql84-client:patch
WRKSRC= ${WRKDIR}/${PORTNAME}-8.4.0
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
BROKEN= Does not compile
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2014-08-22
PG84VER!= cd ${PORTSDIR}/databases/postgresql84-client && ${MAKE} -V PORTVERSION
post-patch:
${REINPLACE_CMD} -e "s|8.4.0|${PG84VER}|" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pg_filedump ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.pg_filedump ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>