Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.13 2015/03/27 08:14:15 ajacoutot Exp $
  2. COMMENT= GUI to dvd+rw-tools and cdrecord
  3. DISTNAME= tkdvd-4.0.9
  4. REVISION = 2
  5. CATEGORIES= sysutils
  6. HOMEPAGE= http://regis.damongeot.free.fr/tkdvd/
  7. MAINTAINER= Vlad Glagolev <stealth@sourcemage.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ${HOMEPAGE:=dl/}
  11. WRKDIST= ${WRKDIR}/tkdvd
  12. MODULES= x11/tk
  13. BUILD_DEPENDS= ${MODTCL_RUN_DEPENDS}
  14. RUN_DEPENDS= sysutils/cdrtools \
  15. sysutils/dvd+rw-tools \
  16. x11/gtk+3,-guic \
  17. ${MODTK_RUN_DEPENDS}
  18. NO_TEST= Yes
  19. pre-build:
  20. ${SUBST_CMD} ${WRKSRC}/{install.tcl,TkDVD.sh}
  21. do-build:
  22. cd ${WRKDIST} && ./install.tcl
  23. do-install:
  24. ${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/32x32/apps
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/48x48/apps
  27. ${INSTALL_DATA} ${WRKSRC}/icons/*-32.png ${PREFIX}/share/icons/hicolor/32x32/apps
  28. ${INSTALL_DATA} ${WRKSRC}/icons/*-48.png ${PREFIX}/share/icons/hicolor/48x48/apps
  29. ${INSTALL_DATA_DIR} ${PREFIX}/share/tkdvd
  30. ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/tkdvd
  31. .include <bsd.port.mk>