Makefile 656 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.12 2017/04/10 11:46:20 sthen Exp $
  2. COMMENT= morphing engine
  3. DISTNAME= animorph-0.3
  4. CATEGORIES= graphics
  5. REVISION= 1
  6. SHARED_LIBS += animorph 1.0 # unknown
  7. HOMEPAGE= http://www.dedalo-3d.com/
  8. # LGPLv2.1
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += m ${LIBCXX}
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=makehuman/}
  12. CONFIGURE_STYLE=gnu
  13. pre-configure:
  14. sed -i 's,packagedocdir=doc,packagedocdir=share/doc,g' \
  15. ${WRKSRC}/configure
  16. sed -i 's,doc/animorph,share/doc/animorph,g' \
  17. ${WRKSRC}/Makefile.in
  18. # remove useless files (ChangeLog, INSTALL...)
  19. post-install:
  20. rm -rf ${PREFIX}/share/doc
  21. .include <bsd.port.mk>