naddy 71a2c3a843 Extract nested functions; from maintainer Donovan Watteau.
Nested functions are a GCC extension not supported by clang.
2017-08-03 20:26:49 +00:00

36 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.2 2017/08/03 20:26:49 naddy Exp $
COMMENT= Debian package repository producer
V= 5.1.1
REVISION= 0
PKGNAME= reprepro-${V}
DISTNAME= reprepro_${V}.orig
WRKDIST= ${WRKDIR}/reprepro-${V}
CATEGORIES= misc databases sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN:=main/r/reprepro/}
HOMEPAGE= https://mirrorer.alioth.debian.org/
MAINTAINER= Donovan Watteau <tsoomi@gmail.com>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= archive bz2 c gpg-error gpgme lib/db4/db>=4 lzma z
LIB_DEPENDS= archivers/bzip2 \
archivers/libarchive \
archivers/xz \
databases/db/v4 \
security/gpgme
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" \
LDFLAGS="-L${LOCALBASE}/lib"
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>