594dc20e48
Make sure only the external libpopt is used, instead of a mix between external and internal. from Brad with some tweaks
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.25 2011/10/16 07:03:12 ajacoutot Exp $
|
|
|
|
COMMENT = Red Hat package manager
|
|
|
|
DISTNAME = rpm-3.0.6
|
|
REVISION = 6
|
|
SHARED_LIBS = rpm 0.1 \
|
|
rpmbuild 0.0
|
|
CATEGORIES = misc archivers emulators
|
|
|
|
# GPLv2
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
HOMEPAGE = http://www.rpm.org/
|
|
MASTER_SITES = ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
|
|
ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
|
|
|
MODULES = devel/gettext
|
|
WANTLIB += bz2 c popt z
|
|
LIB_DEPENDS += archivers/bzip2 \
|
|
devel/popt
|
|
|
|
USE_LIBTOOL = Yes
|
|
CONFIGURE_STYLE = autoconf
|
|
AUTOCONF_VERSION = 2.13
|
|
|
|
RPM_INTEL = RPMS/i386
|
|
SUBST_VARS = RPM_INTEL
|
|
|
|
# Enforce check for pgp, so no build-time depend is needed
|
|
CONFIGURE_ENV = PGPBIN=$(LOCALBASE)/bin/pgp
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include"
|
|
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ENV += varprefix=/var
|
|
|
|
SEPARATE_BUILD = simple
|
|
|
|
post-install:
|
|
rm -rf ${PREFIX}/src/
|
|
rm -rf ${WRKINST}/var/lib/
|
|
|
|
.include <bsd.port.mk>
|