Makefile 983 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.6 2017/04/28 18:01:09 ajacoutot Exp $
  2. COMMENT= command line utility to transform jpeg files
  3. V= 2.13
  4. DISTNAME= fbida-${V}
  5. PKGNAME= exiftran-${V}
  6. CATEGORIES= graphics
  7. HOMEPAGE= https://www.kraxel.org/blog/linux/fbida/
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += c exif jpeg m
  11. MASTER_SITES= http://www.kraxel.org/releases/fbida/
  12. LIB_DEPENDS= graphics/libexif \
  13. graphics/jpeg
  14. NO_TEST= Yes
  15. post-patch:
  16. mkdir -p ${WRKSRC}/build/exiftran ${WRKSRC}/build/thumbnail.cgi
  17. cp ${FILESDIR}/Makefile ${WRKSRC}/Makefile
  18. cp ${FILESDIR}/Makefile.exiftran ${WRKSRC}/build/exiftran/Makefile
  19. cp ${FILESDIR}/Makefile.thumbnail.cgi \
  20. ${WRKSRC}/build/thumbnail.cgi/Makefile
  21. do-install:
  22. ${INSTALL_PROGRAM} ${WRKBUILD}/build/exiftran/exiftran \
  23. ${PREFIX}/bin/exiftran
  24. ${INSTALL_PROGRAM} ${WRKBUILD}/build/thumbnail.cgi/thumbnail.cgi \
  25. ${PREFIX}/bin/thumbnail.cgi
  26. ${INSTALL_MAN} ${WRKSRC}/exiftran.man ${PREFIX}/man/man1/exiftran.1
  27. .include <bsd.port.mk>