Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $OpenBSD: Makefile,v 1.6 2015/08/12 12:33:03 zhuk Exp $
  2. COMMENT = powerful batch file renamer for KDE4
  3. DISTNAME = krename-4.0.9
  4. SRCFILES = ${DISTNAME}.tar.bz2
  5. DOCFILES = krename-3.0.12.pdf \
  6. krename-3.0.3-de.pdf \
  7. krename-3.0.3-fr.pdf \
  8. krename-3.0.3-ru.pdf
  9. DISTFILES = ${SRCFILES} ${DOCFILES}
  10. EXTRACT_ONLY = ${SRCFILES}
  11. REVISION = 2
  12. CATEGORIES = sysutils x11
  13. HOMEPAGE = http://www.krename.net/
  14. MAINTAINER = Vadim Zhukov <zhuk@openbsd.org>
  15. PORTROACH = limit:^4
  16. PKGSPEC = krename->=3.9
  17. WANTLIB = c freetype m pthread
  18. WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtSvg
  19. WANTLIB += lib/qt4/QtXml
  20. WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/kjsapi
  21. WANTLIB += exiv2 podofo tag
  22. # GPLv2+
  23. PERMIT_PACKAGE_CDROM = Yes
  24. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=krename/}
  25. MODULES = x11/kde4 devel/gettext
  26. RUN_DEPENDS = devel/desktop-file-utils \
  27. x11/gtk+3,-guic
  28. LIB_DEPENDS = audio/taglib \
  29. graphics/exiv2 \
  30. textproc/podofo
  31. TEST_IS_INTERACTIVE = X11
  32. post-install:
  33. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/krename
  34. ${INSTALL_DATA} ${DOCFILES:S@^@${DISTDIR}/@} ${PREFIX}/share/doc/krename
  35. do-test:
  36. cd ${WRKBUILD}/src && ./krename --test
  37. .include <bsd.port.mk>