2011-09-16 04:48:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/09/16 08:48:02 espie Exp $
|
2006-05-01 08:35:54 -04:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= small application for managing a LDAP address book
|
2006-05-01 08:35:54 -04:00
|
|
|
|
|
|
|
DISTNAME= directoryassistant-2.0
|
2011-09-16 04:48:01 -04:00
|
|
|
REVISION = 7
|
2006-05-01 08:35:54 -04:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
HOMEPAGE= http://olivier.sessink.nl/directoryassistant/
|
|
|
|
|
2010-09-07 12:52:50 -04:00
|
|
|
MAINTAINER= Joerg Zinke <mail@umaxx.net>
|
2006-05-01 08:35:54 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
MODULES= lang/python
|
2008-01-11 04:25:59 -05:00
|
|
|
PY_FLAVOR= python${MODPY_VERSION}
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS= x11/py-gtk2 \
|
2010-11-15 07:44:20 -05:00
|
|
|
py-ldap-*-${PY_FLAVOR}:databases/py-ldap,${PY_FLAVOR}
|
2006-05-01 08:35:54 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2010-10-18 13:06:05 -04:00
|
|
|
USE_GROFF = Yes
|
2006-05-01 08:35:54 -04:00
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@perl -pi -e "s,/usr/bin/python,${MODPY_BIN}," \
|
|
|
|
${WRKSRC}/directoryassistant
|
|
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR}," ${WRKSRC}/directoryassistant*
|
|
|
|
@perl -pi -e "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/directoryassistant
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/directoryassistant ${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/directoryassistant.1 ${PREFIX}/man/man1/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/directoryassistant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.png \
|
|
|
|
${PREFIX}/share/directoryassistant/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|