Makefile 787 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.20 2016/03/10 22:51:45 naddy Exp $
  2. COMMENT= ISO MPEG-4 compliant video codec
  3. DISTNAME= xvidcore-1.3.4
  4. CATEGORIES= multimedia
  5. MASTER_SITES= http://downloads.xvid.org/downloads/
  6. EXTRACT_SUFX= .tar.bz2
  7. SHARED_LIBS= xvidcore 4.4
  8. HOMEPAGE= http://www.xvid.org/
  9. MAINTAINER= Brad Smith <brad@comstyle.com>
  10. # GPLv2+
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB= m pthread
  13. WRKDIST= ${WRKDIR}/xvidcore
  14. WRKBUILD= ${WRKSRC}/build/generic
  15. USE_GMAKE= Yes
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS+= --disable-assembly
  18. CONFIGURE_ENV= API_MAJOR=${LIBxvidcore_VERSION:R} \
  19. API_MINOR=${LIBxvidcore_VERSION:E}
  20. NO_TEST= Yes
  21. do-install:
  22. ${INSTALL_DATA} ${WRKBUILD}/=build/libxvidcore.{a,so*} ${PREFIX}/lib
  23. ${INSTALL_DATA} ${WRKSRC}/src/xvid.h ${PREFIX}/include
  24. .include <bsd.port.mk>