Makefile 881 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.30 2015/06/18 07:22:59 bentley Exp $
  2. COMMENT = Red Hat package manager
  3. DISTNAME = rpm-3.0.6
  4. REVISION = 7
  5. SHARED_LIBS = rpm 0.1 \
  6. rpmbuild 0.0
  7. CATEGORIES = misc archivers emulators
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. HOMEPAGE = http://www.rpm.org/
  11. MASTER_SITES = http://rpm.org/releases/historical/rpm-3.0.x/
  12. MODULES = devel/gettext
  13. WANTLIB += bz2 c popt z
  14. LIB_DEPENDS += archivers/bzip2 \
  15. devel/popt
  16. CONFIGURE_STYLE = autoconf
  17. AUTOCONF_VERSION = 2.13
  18. RPM_INTEL = RPMS/i386
  19. SUBST_VARS = RPM_INTEL
  20. # Enforce check for pgp, so no build-time depend is needed
  21. CONFIGURE_ENV = PGPBIN=$(LOCALBASE)/bin/pgp
  22. CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include"
  23. CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib"
  24. CONFIGURE_ENV += varprefix=/var
  25. SEPARATE_BUILD = Yes
  26. post-install:
  27. rm -rf ${PREFIX}/src/
  28. rm -rf ${WRKINST}/var/lib/
  29. .include <bsd.port.mk>