-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
46 lines (36 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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>