1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/quilt/Makefile
Pawel Pekala aed743dee4 - Update to version 0.61 [1]
- Remove leading article from COMMENT
- Use option helpers

PR:		ports/184712 [1]
Submitted by:	maintainer
2013-12-19 11:11:34 +00:00

63 lines
1.4 KiB
Makefile

# Created by: Dirk Jagdmann <doj@cubic.org>
# $FreeBSD$
PORTNAME= quilt
PORTVERSION= 0.61
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= quilt
MAINTAINER= doj@cubic.org
COMMENT= Collection of bash scripts to ease working with patch files
LICENSE= GPLv2
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
gcp:${PORTSDIR}/sysutils/coreutils \
gsed:${PORTSDIR}/textproc/gsed \
gpatch:${PORTSDIR}/devel/patch \
diffstat:${PORTSDIR}/textproc/diffstat \
gawk:${PORTSDIR}/lang/gawk
RUN_DEPENDS:= ${BUILD_DEPENDS} \
formail:${PORTSDIR}/mail/procmail
USES= gmake perl5
OPTIONS_DEFINE= RPMBUILD DOCS NLS
OPTIONS_SUB= yes
RPMBUILD_DESC= rpmbuild support
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sed=${LOCALBASE}/bin/gsed \
--without-getopt \
--with-patch=${LOCALBASE}/bin/gpatch
MAN1= guards.1 quilt.1
PORTDOCS= README README.MAIL quilt.pdf
RPMBUILD_BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RPMBUILD_RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RPMBUILD_CONFIGURE_OFF= --without-rpmbuild
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
NO_STAGE= yes
.include <bsd.port.options.mk>
.if !exists(${LOCALBASE}/sbin/sendmail)
PLIST_SUB+= SENDMAIL=""
.else
PLIST_SUB+= SENDMAIL="@comment "
.endif
.if ! ${PORT_OPTIONS:MDOCS}
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-Makefile.in
.endif
post-extract:
@${REINPLACE_CMD} -e 's|$$(docdir)/$$(PACKAGE)-$$(VERSION)|$$(docdir)/$$(PACKAGE)|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>