mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
1b9a387c3d
PR: 152077 Submitted by: RyoTa SimaMoto <liangtai.s4@gmail.com>
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# New ports collection makefile for: separate
|
|
# Date created: 30 January 2008
|
|
# Whom: Pietro Cerutti <gahr@gahr.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= separate
|
|
PORTVERSION= 0.5.8
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SFJP
|
|
MASTER_SITE_SUBDIR= separate-plus/47873
|
|
DISTNAME= ${PORTNAME}+-${PORTVERSION}
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= A CMYK plugin for The GIMP
|
|
|
|
BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep \
|
|
gimp-2.6:${PORTSDIR}/graphics/gimp
|
|
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
|
|
|
|
USE_ZIP= yes
|
|
USE_GMAKE= yes
|
|
|
|
BIN_TARGETS= separate separate_import icc_colorspace
|
|
L10N_TARGETS= cs es fr ja ko pl ru
|
|
|
|
.for PLUGIN in ${BIN_TARGETS}
|
|
PLIST_FILES+= libexec/gimp/2.2/plug-ins/${PLUGIN}
|
|
.endfor
|
|
.for lang in ${L10N_TARGETS}
|
|
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo
|
|
.endfor
|
|
|
|
PORTDOCS= README*
|
|
PORTEXAMPLES= qproof.scm qexport.scm
|
|
|
|
MAKE_ENV+= TARGETS="${BIN_TARGETS}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| make| ${GMAKE}|; s|lib/gimp/2.0|libexec/gimp/2.2|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|$$(PREFIX)|${PREFIX}|g' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC}/sample-scripts && \
|
|
${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
|
|
.endif
|
|
@${CAT} pkg-message
|
|
|
|
.include <bsd.port.mk>
|