mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
- Make RPM an optional dependency.
- Respect WITH(OUT) NLS. - Bump PORTREVISION. PR: ports/120480 Submitted by: Balazs Nagy <js@iksz.hu> Approved by: gabor (mentor, implicit), Dirk Jagdmann <doj@cubic.org>
This commit is contained in:
parent
6a72e85bca
commit
1258266300
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215577
@ -7,9 +7,10 @@
|
||||
|
||||
PORTNAME= quilt
|
||||
PORTVERSION= 0.46
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://download.savannah.gnu.org/releases/quilt/
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
MASTER_SITE_SUBDIR= quilt
|
||||
|
||||
MAINTAINER= doj@cubic.org
|
||||
COMMENT= A collection of bash scripts to ease working with patch files
|
||||
@ -18,24 +19,43 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
||||
gcp:${PORTSDIR}/sysutils/coreutils \
|
||||
gsed:${PORTSDIR}/textproc/gsed \
|
||||
gpatch:${PORTSDIR}/devel/patch \
|
||||
diffstat:${PORTSDIR}/textproc/diffstat \
|
||||
rpm:${PORTSDIR}/archivers/rpm
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
diffstat:${PORTSDIR}/textproc/diffstat
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
OPTIONS= RPMBUILD "rpmbuild support" off
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-sed=${LOCALBASE}/bin/gsed --without-getopt --with-patch=${LOCALBASE}/bin/gpatch
|
||||
|
||||
MAN1= guards.1 quilt.1
|
||||
PORTDOCS= README* quilt.pdf
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_RPMBUILD)
|
||||
BUILD_DEPENDS+= rpm:${PORTSDIR}/archivers/rpm
|
||||
RUN_DEPENDS+= rpm:${PORTSDIR}/archivers/rpm
|
||||
PLIST_SUB+= RPMBUILD=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-rpmbuild
|
||||
PLIST_SUB+= RPMBUILD="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
PLIST_SUB+= NLS=""
|
||||
USE_GETTEXT= yes
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/quilt.quiltrc ]; then \
|
||||
${CP} ${PREFIX}/etc/quilt.quiltrc.sample \
|
||||
${PREFIX}/etc/quilt.quiltrc ; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -12,7 +12,7 @@ share/libexec/quilt/compat/cp
|
||||
share/libexec/quilt/compat/date
|
||||
share/libexec/quilt/compat/getopt
|
||||
share/libexec/quilt/compat/patch
|
||||
share/libexec/quilt/compat/rpmbuild
|
||||
%%RPMBUILD%%share/libexec/quilt/compat/rpmbuild
|
||||
share/libexec/quilt/compat/sed
|
||||
share/libexec/quilt/compat/sendmail
|
||||
share/libexec/quilt/delete
|
||||
@ -48,9 +48,9 @@ share/libexec/quilt/top
|
||||
share/libexec/quilt/unapplied
|
||||
share/libexec/quilt/upgrade
|
||||
share/libexec/quilt/wrapper/patch
|
||||
share/locale/de/LC_MESSAGES/quilt.mo
|
||||
share/locale/fr/LC_MESSAGES/quilt.mo
|
||||
share/locale/ja/LC_MESSAGES/quilt.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/quilt.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/quilt.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/quilt.mo
|
||||
@dirrm share/libexec/quilt/wrapper
|
||||
@dirrm share/libexec/quilt/scripts
|
||||
@dirrm share/libexec/quilt/compat
|
||||
|
Loading…
x
Reference in New Issue
Block a user