Makefile 892 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.20 2015/07/18 21:11:18 jasper Exp $
  2. COMMENT= small application for managing a LDAP address book
  3. DISTNAME= directoryassistant-2.1
  4. CATEGORIES= databases
  5. HOMEPAGE= http://olivier.sessink.nl/directoryassistant/
  6. # BSD
  7. PERMIT_PACKAGE_CDROM= Yes
  8. MASTER_SITES= ${HOMEPAGE}
  9. MODULES= lang/python
  10. RUN_DEPENDS= x11/py-gtk2 \
  11. databases/py-ldap
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. PKG_ARCH= *
  15. pre-install:
  16. sed -i -e "s,/usr/bin/python,${MODPY_BIN}," \
  17. -e "s,/usr/local,${LOCALBASE},g" \
  18. ${WRKSRC}/directoryassistant
  19. sed -i "s,/etc,${SYSCONFDIR}," ${WRKSRC}/directoryassistant*
  20. do-install:
  21. ${INSTALL_SCRIPT} ${WRKSRC}/directoryassistant ${PREFIX}/bin/
  22. ${INSTALL_MAN} ${WRKSRC}/directoryassistant.1 ${PREFIX}/man/man1/
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/directoryassistant
  24. ${INSTALL_DATA} ${WRKSRC}/*.png \
  25. ${PREFIX}/share/directoryassistant/
  26. .include <bsd.port.mk>