Lines 1-7
Link Here
|
1 |
# $FreeBSD: head/graphics/libsixel/Makefile 354800 2014-05-22 08:03:57Z miwi $ |
1 |
# $FreeBSD: head/graphics/libsixel/Makefile 354800 2014-05-22 08:03:57Z miwi $ |
2 |
|
2 |
|
3 |
PORTNAME= libsixel |
3 |
PORTNAME= libsixel |
4 |
PORTVERSION= 20140422 |
4 |
PORTVERSION= 0.19.5 |
|
|
5 |
PORTEPOCH= 1 |
5 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
6 |
|
7 |
|
7 |
MAINTAINER= sue@iwmt.org |
8 |
MAINTAINER= sue@iwmt.org |
Lines 12-24
Link Here
|
12 |
|
13 |
|
13 |
USE_GITHUB= yes |
14 |
USE_GITHUB= yes |
14 |
GH_ACCOUNT= saitoha |
15 |
GH_ACCOUNT= saitoha |
15 |
GH_TAGNAME= ${GH_COMMIT} |
16 |
GH_TAGNAME= v${PORTVERSION} |
16 |
GH_COMMIT= 8bd21f7 |
17 |
GH_COMMIT= 200e4d9 |
|
|
18 |
|
19 |
USE_LDCONFIG= yes |
20 |
USES= libtool |
17 |
|
21 |
|
18 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
|
|
23 |
CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig |
19 |
|
24 |
|
20 |
PORTDOCS= README.md |
25 |
PORTDOCS= README.md |
21 |
|
26 |
|
|
|
27 |
OPTIONS_DEFINE= CURL GD PIXBUF |
28 |
OPTIONS_DEFAULT= |
29 |
|
30 |
CURL_DESC= libcurl support |
31 |
GD_DESC= gd support |
32 |
PIXBUF_DESC= gdk-pixbuf2 support |
33 |
|
34 |
.include <bsd.port.options.mk> |
35 |
|
36 |
.if ${PORT_OPTIONS:MCURL} |
37 |
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl |
38 |
CONFIGURE_ARGS+=--with-libcurl |
39 |
.endif |
40 |
|
41 |
.if ${PORT_OPTIONS:MGD} |
42 |
LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd |
43 |
CONFIGURE_ARGS+=--with-gd |
44 |
.endif |
45 |
|
46 |
.if ${PORT_OPTIONS:MPIXBUF} |
47 |
LIB_DEPENDS+= libgdk_pixbuf-2.0.so:${PORTSDIR}/graphics/gdk-pixbuf2 |
48 |
CONFIGURE_ARGS+=--with-gdk-pixbuf2 |
49 |
.endif |
50 |
|
22 |
post-install: |
51 |
post-install: |
23 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsixel.so.0 |
52 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsixel.so.0 |
24 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
53 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |