2005-09-18 14:40:36 +00:00
|
|
|
# New ports collection makefile for: HOZ - Hacha Open Zource
|
|
|
|
# Date created: 2005-09-16
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hoz
|
|
|
|
PORTVERSION= 1.65
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 7
|
2005-09-18 14:40:36 +00:00
|
|
|
CATEGORIES= sysutils
|
2009-08-22 00:35:32 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
2006-11-01 03:48:41 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
|
2005-09-18 14:40:36 +00:00
|
|
|
|
2006-07-23 02:45:24 +00:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-09-18 14:40:36 +00:00
|
|
|
COMMENT= File splitter, GTK and CLI versions
|
|
|
|
|
|
|
|
USE_GNOME= #
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
OPTIONS= CLI "CLI interface" on \
|
|
|
|
GTK2 "GTK interface" on \
|
|
|
|
LANG_ES "Spanish translation" off \
|
|
|
|
LANG_EN "English translation" on \
|
|
|
|
LANG_FR "French translation" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_GTK2)
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_CLI)
|
|
|
|
ALL_TARGET= gtk
|
|
|
|
.else
|
|
|
|
PLIST_FILES+= bin/hoz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_GTK2)
|
|
|
|
ALL_TARGET= cli
|
|
|
|
.else
|
|
|
|
PLIST_FILES+= bin/ghoz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_LANG_ES)
|
|
|
|
MAKE_ENV+= LANG="-DHOZ_LANG_ES"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_LANG_EN)
|
|
|
|
MAKE_ENV+= LANG="-DHOZ_LANG_EN"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_LANG_FR)
|
|
|
|
MAKE_ENV+= LANG="-DHOZ_LANG_FR"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !defined(WITHOUT_CLI)
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hoz ${PREFIX}/bin
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_GTK2)
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ghoz ${PREFIX}/bin
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|