1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/databases/pg_filedump/Makefile
Mark Linimon b229f06704 Mark as broken on powerpc.
Hat:		portmgr
2012-09-08 05:57:32 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: pg_filedump
# Date created: 18 Aug 2009
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pg_filedump
PORTVERSION= 8.4
CATEGORIES= databases
MASTER_SITES= http://sources.redhat.com/rhdb/tools/
EXTRACT_SUFX= .tar
MAINTAINER= kuriyama@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
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
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 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.pg_filedump ${DOCSDIR}
.endif
.include <bsd.port.post.mk>