Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= gmic |
3 |
PORTNAME= gmic |
4 |
PORTVERSION= 1.6.0.0 |
4 |
PORTVERSION= 1.6.8 |
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 40-47
Link Here
|
40 |
|
40 |
|
41 |
PLIST_FILES= bin/gmic \ |
41 |
PLIST_FILES= bin/gmic \ |
42 |
man/man1/gmic.1.gz \ |
42 |
man/man1/gmic.1.gz \ |
43 |
%%BASH%%etc/bash_completion.d/gmic_bashcompletion.sh \ |
43 |
%%BASH%%etc/bash_completion.d/gmic \ |
44 |
%%PLUGIN_DIR%%/gmic_gimp |
44 |
%%PLUGIN_DIR%%/gmic_gimp \ |
|
|
45 |
%%PLUGIN_DIR%%/cli_update168.gmic \ |
46 |
%%PLUGIN_DIR%%/gimp_update168.gmic |
45 |
|
47 |
|
46 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} |
48 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} |
47 |
PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp |
49 |
PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp |
Lines 50-60
Link Here
|
50 |
|
52 |
|
51 |
post-patch: |
53 |
post-patch: |
52 |
@${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ |
54 |
@${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ |
|
|
55 |
-e 's#/usr/local#${LOCALBASE}#g' \ |
53 |
${WRKSRC}/Makefile |
56 |
${WRKSRC}/Makefile |
54 |
|
57 |
|
55 |
do-install: |
58 |
do-install: |
56 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
59 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
57 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
60 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
|
|
61 |
${INSTALL_DATA} ${WRKSRC}/../resources/cli_update168.gmic \ |
62 |
${WRKSRC}/../resources/gimp_update168.gmic \ |
63 |
${STAGEDIR}${PREFIX}/${PLUGIN_DIR} |
58 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin |
64 |
${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin |
59 |
${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 |
65 |
${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 |
60 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
66 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
Lines 62-68
Link Here
|
62 |
.if ${PORT_OPTIONS:MBASH} |
68 |
.if ${PORT_OPTIONS:MBASH} |
63 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d |
69 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d |
64 |
${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ |
70 |
${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ |
65 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d |
71 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic |
66 |
.endif |
72 |
.endif |
67 |
|
73 |
|
68 |
.include <bsd.port.mk> |
74 |
.include <bsd.port.mk> |