2013-03-02 06:46:45 +01:00
|
|
|
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
|
2006-12-12 13:39:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= isomaster
|
2014-11-18 17:48:10 +01:00
|
|
|
PORTVERSION= 1.3.13
|
2006-12-12 13:39:56 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://littlesvr.ca/isomaster/releases/
|
|
|
|
|
2014-10-14 16:08:09 +02:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2006-12-12 13:39:56 +01:00
|
|
|
COMMENT= GTK2 (bootable) CD ISO Image editor
|
|
|
|
|
2013-03-02 06:46:45 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-07-14 20:42:04 +02:00
|
|
|
LIB_DEPENDS= libiniparser.so:${PORTSDIR}/devel/iniparser
|
2013-03-02 06:46:45 +01:00
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
|
|
|
|
2014-04-29 07:09:40 +02:00
|
|
|
USES= desktop-file-utils gettext gmake pkgconfig tar:bzip2
|
|
|
|
USE_GNOME= gtk20
|
2013-03-02 06:46:45 +01:00
|
|
|
MAKE_ENV= DEFAULT_VIEWER="xdg-open" USE_SYSTEM_INIPARSER=1
|
2006-12-12 13:39:56 +01:00
|
|
|
|
2013-03-02 06:46:45 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -Diniparser_setstr=iniparser_set
|
2013-07-26 08:24:12 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
2009-09-26 16:44:53 +02:00
|
|
|
|
2013-02-28 11:51:58 +01:00
|
|
|
post-patch:
|
2014-04-29 07:09:40 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|<time.h>|<sys/time.h>|' ${WRKSRC}/bk/bkMisc.c
|
2013-03-02 06:46:45 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|@$$(CC)|$$(CC)|'
|
2013-02-28 11:51:58 +01:00
|
|
|
|
2007-03-21 10:59:17 +01:00
|
|
|
do-install:
|
2014-04-29 07:09:40 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} isomaster \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_MAN} isomaster.1 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/icons
|
2013-03-02 06:46:45 +01:00
|
|
|
.for i in add2-kearone.png delete-kearone.png extract2-kearone.png \
|
|
|
|
folder-new-kearone.png go-back-kearone.png isomaster.png
|
2014-04-29 07:09:40 +02:00
|
|
|
(cd ${WRKSRC}/icons && ${INSTALL_DATA} ${i} \
|
|
|
|
${STAGEDIR}${DATADIR}/icons)
|
2007-03-21 10:59:17 +01:00
|
|
|
.endfor
|
2014-04-29 07:09:40 +02:00
|
|
|
.for i in ar be@latin bg bn_IN ca cs da de el es et fi fo fr gl he hr hu \
|
|
|
|
id it ja lt lv nb nl nn pl pt pt_BR ro ru sk sl sq sr sr@Latn \
|
|
|
|
sr@latin sv tr uk ur_PK zh_CN zh_TW
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES
|
2013-03-02 06:46:45 +01:00
|
|
|
(cd ${WRKSRC}/po && ${INSTALL_DATA} ${i}.mo \
|
2014-04-29 07:09:40 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/isomaster.mo)
|
2007-03-21 10:59:17 +01:00
|
|
|
.endfor
|
2014-04-29 07:09:40 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} isomaster.desktop \
|
|
|
|
${STAGEDIR}${DESKTOPDIR})
|
2006-12-16 10:45:54 +01:00
|
|
|
|
2007-01-18 09:19:43 +01:00
|
|
|
.include <bsd.port.mk>
|