Makefile 872 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.12 2015/01/22 17:47:51 naddy Exp $
  2. COMMENT= extract subtitles from dvds
  3. DISTNAME= ogmrip-0.10.0
  4. PKGNAME= subrip-0.10.0
  5. REVISION= 2
  6. CATEGORIES= multimedia converters
  7. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogmrip/}
  8. HOMEPAGE= http://ogmrip.sourceforge.net/
  9. MAINTAINER= Marc Espie <espie@openbsd.org>
  10. # GPL
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WRKDIST= ${WRKDIR}/${DISTNAME}/subrip
  13. do-configure:
  14. ln -sf ${FILESDIR}/Makefile ${WRKDIST}
  15. RUN_DEPENDS= graphics/gocr \
  16. x11/mplayer
  17. WANTLIB= c m
  18. NO_TEST= Yes
  19. FAKE_FLAGS= BINDIR=${TRUEPREFIX}/bin \
  20. INSTALL_PROGRAM="${INSTALL_PROGRAM}"
  21. post-install:
  22. ${INSTALL_PROGRAM} ${FILESDIR}/subrip ${PREFIX}/bin
  23. ${INSTALL_MAN} ${FILESDIR}/subrip.1 ${PREFIX}/man/man1
  24. ${INSTALL_MAN} ${FILESDIR}/srttool.1 ${PREFIX}/man/man1
  25. ${INSTALL_MAN} ${FILESDIR}/sub2pgm.1 ${PREFIX}/man/man1
  26. .include <bsd.port.mk>