mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Patch configure instead of configure.ac so USE_AUTOTOOLS can be removed.
- Use option helpers, fix pkg-plist and other cleanups.
This commit is contained in:
parent
6c1e4375fc
commit
479e9b384d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457184
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= libexif-gtk
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/libexif/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
@ -14,33 +14,18 @@ LICENSE= LGPL21
|
||||
|
||||
LIB_DEPENDS= libexif.so:graphics/libexif
|
||||
|
||||
USES= libtool pathfix pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
USE_AUTOTOOLS= autoconf
|
||||
GUN_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog NEWS README
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|-g ||g' ${WRKSRC}/configure.ac
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
@${REINPLACE_CMD} 's|-g -Wall|-Wall|' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -14,6 +14,7 @@ include/libexif-gtk/gtk-exif-entry-version.h
|
||||
include/libexif-gtk/gtk-exif-entry.h
|
||||
lib/libexif-gtk.a
|
||||
lib/libexif-gtk.so
|
||||
lib/libexif-gtk.so.5
|
||||
lib/libexif-gtk.so.5.1.0
|
||||
libdata/pkgconfig/libexif-gtk.pc
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/libexif-gtk-5.mo
|
||||
|
Loading…
Reference in New Issue
Block a user