1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/databases/pgworksheet/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

30 lines
686 B
Makefile

# Created by: Henri Michelon
# $FreeBSD$
PORTNAME= pgworksheet
PORTVERSION= 1.9
PORTREVISION= 7
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/1695/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Simple PostreSQL GUI front end
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyPgSQL/libpq/__init__.py:databases/py-pyPgSQL@${PY_FLAVOR}
USES= pgsql python:2.7 tar:bzip2
USE_GNOME= pygtk2
USE_PYTHON= distutils autoplist
post-patch:
${REINPLACE_CMD} -e \
's|@PIXMAP_PATH@|${PREFIX}/share/pixmaps/pgworksheet|' \
${WRKSRC}/pgworksheet
${REINPLACE_CMD} -e \
's|@LOCALE_PATH@|${PREFIX}/share/locale|' \
${WRKSRC}/pgworksheet
.include <bsd.port.mk>