freebsd-ports/french/verbiste/Makefile
Christian Weisgerber 2a2f2cb31d french/verbiste: update to 0.1.48
Maintenance update, no significant changes.

Clean up the port after the forced removal of the GNOME option in
commit c399c4d12f.

PR:		272985
Approved by:	maintainer
2023-08-09 12:55:49 +02:00

46 lines
1.1 KiB
Makefile

PORTNAME= verbiste
PORTVERSION= 0.1.48
CATEGORIES= french education textproc
MASTER_SITES= http://sarrazip.com/dev/
MAINTAINER= dereckson@gmail.com
COMMENT= French verb conjugator/deconjugator
WWW= http://sarrazip.com/dev/verbiste.html
LICENSE= GPLv2
USES= gnome iconv:wchar_t pathfix pkgconfig libtool localbase \
shebangfix
USE_GNOME= libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
SHEBANG_FILES= ${WRKSRC}/examples/*.pl
TEST_TARGET= check
OPTIONS_DEFINE= GTK2 DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USES+= gettext
USE_GNOME+= cairo gdkpixbuf2 gtk20
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
PLIST_SUB+= HASGTK=""
.else
CONFIGURE_ARGS+=--without-gtk-app
PLIST_SUB+= HASGTK="@comment "
.endif
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in README *.java *.c
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>