Lines 1-8
Link Here
|
1 |
# $FreeBSD: head/graphics/gimp-gmic-plugin/Makefile 403677 2015-12-13 16:26:12Z rm $ |
1 |
# $FreeBSD: head/graphics/gimp-gmic-plugin/Makefile 403677 2015-12-13 16:26:12Z rm $ |
2 |
|
2 |
|
3 |
PORTNAME= gmic |
3 |
PORTNAME= gmic |
4 |
PORTVERSION= 1.6.0.0 |
4 |
PORTVERSION= 1.6.9 |
5 |
PORTREVISION= 4 |
|
|
6 |
CATEGORIES= graphics |
5 |
CATEGORIES= graphics |
7 |
MASTER_SITES= http://gmic.eu/files/source/ |
6 |
MASTER_SITES= http://gmic.eu/files/source/ |
8 |
PKGNAMEPREFIX= gimp- |
7 |
PKGNAMEPREFIX= gimp- |
Lines 14-19
Link Here
|
14 |
|
13 |
|
15 |
LIB_DEPENDS= libGraphicsMagick++.so:${PORTSDIR}/graphics/GraphicsMagick \ |
14 |
LIB_DEPENDS= libGraphicsMagick++.so:${PORTSDIR}/graphics/GraphicsMagick \ |
16 |
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ |
15 |
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ |
|
|
16 |
libopencv_legacy.so:${PORTSDIR}/graphics/opencv \ |
17 |
libMagick++-6.so:${PORTSDIR}/graphics/ImageMagick \ |
17 |
libMagick++-6.so:${PORTSDIR}/graphics/ImageMagick \ |
18 |
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ |
18 |
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ |
19 |
libfftw3.so:${PORTSDIR}/math/fftw3 \ |
19 |
libfftw3.so:${PORTSDIR}/math/fftw3 \ |
Lines 25-34
Link Here
|
25 |
|
25 |
|
26 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src |
26 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src |
27 |
|
27 |
|
28 |
USES= gmake pkgconfig |
28 |
USES= dos2unix gmake pkgconfig |
29 |
USE_GCC= yes |
29 |
USE_GCC= yes |
30 |
USE_GNOME= gtk20 |
30 |
USE_GNOME= gtk20 |
31 |
USE_XORG= x11 xext xrandr |
31 |
USE_XORG= x11 xext xrandr |
|
|
32 |
DOS2UNIX_FILES= Makefile |
32 |
|
33 |
|
33 |
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins |
34 |
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins |
34 |
PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR} |
35 |
PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR} |
Lines 40-47
Link Here
|
40 |
|
41 |
|
41 |
PLIST_FILES= bin/gmic \ |
42 |
PLIST_FILES= bin/gmic \ |
42 |
man/man1/gmic.1.gz \ |
43 |
man/man1/gmic.1.gz \ |
43 |
%%BASH%%etc/bash_completion.d/gmic_bashcompletion.sh \ |
44 |
%%BASH%%etc/bash_completion.d/gmic \ |
44 |
%%PLUGIN_DIR%%/gmic_gimp |
45 |
%%PLUGIN_DIR%%/gmic_gimp \ |
|
|
46 |
%%PLUGIN_DIR%%/cli_update169.gmic \ |
47 |
%%PLUGIN_DIR%%/gimp_update169.gmic |
45 |
|
48 |
|
46 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} |
49 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} |
47 |
PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp |
50 |
PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp |
Lines 50-60
Link Here
|
50 |
|
53 |
|
51 |
post-patch: |
54 |
post-patch: |
52 |
@${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ |
55 |
@${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ |
|
|
56 |
-e 's#/usr/local#${LOCALBASE}#g' \ |
53 |
${WRKSRC}/Makefile |
57 |
${WRKSRC}/Makefile |
54 |
|
58 |
|
55 |
do-install: |
59 |
do-install: |
56 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
60 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
57 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
61 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
|
|
62 |
${INSTALL_DATA} ${WRKSRC}/../resources/cli_update169.gmic \ |
63 |
${WRKSRC}/../resources/gimp_update169.gmic \ |
64 |
${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
58 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin |
65 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin |
59 |
${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 |
66 |
${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 |
60 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
67 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
Lines 62-68
Link Here
|
62 |
.if ${PORT_OPTIONS:MBASH} |
69 |
.if ${PORT_OPTIONS:MBASH} |
63 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d |
70 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d |
64 |
${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ |
71 |
${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ |
65 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d |
72 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic |
66 |
.endif |
73 |
.endif |
67 |
|
74 |
|
68 |
.include <bsd.port.mk> |
75 |
.include <bsd.port.mk> |