2013-04-28 22:01:07 +02:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2005-09-18 16:40:36 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hoz
|
|
|
|
PORTVERSION= 1.65
|
2016-12-08 20:52:19 +01:00
|
|
|
PORTREVISION= 8
|
2005-09-18 16:40:36 +02:00
|
|
|
CATEGORIES= sysutils
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
2006-11-01 04:48:41 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
|
2005-09-18 16:40:36 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-09-18 16:40:36 +02:00
|
|
|
COMMENT= File splitter, GTK and CLI versions
|
|
|
|
|
|
|
|
USE_GNOME= #
|
2013-09-11 19:17:35 +02:00
|
|
|
USES= gmake pkgconfig
|
2005-09-18 16:40:36 +02:00
|
|
|
|
2013-10-09 23:15:37 +02:00
|
|
|
MAKE_ARGS= CC="${CC}"
|
|
|
|
|
2005-09-18 16:40:36 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
|
2014-07-15 19:00:56 +02:00
|
|
|
OPTIONS_DEFINE= CLI GTK2 LANG_ES LANG_EN LANG_FR DOCS
|
2013-04-28 22:01:07 +02:00
|
|
|
OPTIONS_DEFAULT= CLI GTK2 LANG_EN
|
|
|
|
LANG_EN_DESC= language support
|
2005-09-18 16:40:36 +02:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-09-18 16:40:36 +02:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
2005-09-18 16:40:36 +02:00
|
|
|
USE_GNOME+= gtk20
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MCLI}
|
2005-09-18 16:40:36 +02:00
|
|
|
ALL_TARGET= gtk
|
|
|
|
.else
|
|
|
|
PLIST_FILES+= bin/hoz
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MGTK2}
|
2005-09-18 16:40:36 +02:00
|
|
|
ALL_TARGET= cli
|
|
|
|
.else
|
|
|
|
PLIST_FILES+= bin/ghoz
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MLANG_ES}
|
2018-09-30 13:58:29 +02:00
|
|
|
MAKE_ENV+= HOZ_LANG="-DHOZ_LANG_ES"
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MLANG_EN}
|
2018-09-30 13:58:29 +02:00
|
|
|
MAKE_ENV+= HOZ_LANG="-DHOZ_LANG_EN"
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MLANG_FR}
|
2018-09-30 13:58:29 +02:00
|
|
|
MAKE_ENV+= HOZ_LANG="-DHOZ_LANG_FR"
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MCLI}
|
2014-06-27 04:01:36 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hoz ${STAGEDIR}${PREFIX}/bin
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
2014-06-27 04:01:36 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ghoz ${STAGEDIR}${PREFIX}/bin
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-06-27 04:01:36 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2005-09-18 16:40:36 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.include <bsd.port.mk>
|