openbsd-ports/misc/rpm/Makefile
steven 1ec348c316 SHARED_LIBS
ok pvalchev@
2005-12-25 23:42:09 +00:00

41 lines
975 B
Makefile

# $OpenBSD: Makefile,v 1.15 2005/12/25 23:42:09 steven Exp $
COMMENT= "redhat package manager"
PKGNAME= ${DISTNAME}p3
DISTNAME= rpm-3.0.6
SHARED_LIBS= rpm 0.1 \
rpmbuild 0.0
MODGNU_SHARED_LIBS= rpm '' \
rpmbuild ''
CATEGORIES= misc archivers emulators
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c z
MAINTAINER= Marc Espie <espie@openbsd.org>
HOMEPAGE= http://www.rpm.org/
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
MODULES= devel/gettext
LIB_DEPENDS+= bz2.::archivers/bzip2 \
popt.0.::devel/popt
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/popt
# 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 -liconv"
CONFIGURE_ENV+= varprefix=/var
SEPARATE_BUILD= simple
.include <bsd.port.mk>