Makefile 806 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.3 2017/04/10 11:46:23 sthen Exp $
  2. MAINTAINER = Marc Espie <espie@openbsd.org>
  3. CATEGORIES = multimedia
  4. COMMENT = closed caption subtitles extractor
  5. HOMEPAGE = http://ccextractor.sourceforge.net/
  6. V = 0.56
  7. DISTFILES = ccextractor.${V:S/.//}-src.zip
  8. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ccextractor/}
  9. DISTNAME = ccextractor-$V
  10. WRKDIST = ${WRKDIR}/ccextractor.$V
  11. WRKSRC = ${WRKDIST}/src
  12. # GPL 2.0
  13. PERMIT_PACKAGE_CDROM = Yes
  14. DOCDIR = ${PREFIX}/share/doc/ccextractor
  15. NO_TEST = Yes
  16. do-configure:
  17. ln -s ${FILESDIR}/Makefile ${WRKSRC}/Makefile
  18. do-install:
  19. ${INSTALL_PROGRAM} ${WRKBUILD}/ccextractor ${PREFIX}/bin
  20. ${INSTALL_DATA_DIR} ${DOCDIR}
  21. for i in ${WRKDIST}/docs/*.TXT; do \
  22. ${INSTALL_DATA} $$i ${DOCDIR}; \
  23. done
  24. WANTLIB += c m ${LIBCXX}
  25. .include <bsd.port.mk>