diff options
author | pav <pav@FreeBSD.org> | 2005-09-18 22:40:36 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-18 22:40:36 +0800 |
commit | e864f209313eaf47c8151717adee1cf6cce6c92f (patch) | |
tree | eb56add4c79bb5aebafa658a482f66ba1c1d0d4d /sysutils/hoz/Makefile | |
parent | 67c5d5a3c20022c8fe73d75ef92da3c4de199f75 (diff) | |
download | freebsd-ports-gnome-e864f209313eaf47c8151717adee1cf6cce6c92f.tar.gz freebsd-ports-gnome-e864f209313eaf47c8151717adee1cf6cce6c92f.tar.zst freebsd-ports-gnome-e864f209313eaf47c8151717adee1cf6cce6c92f.zip |
HOZ is what you would call a "file splitter". Its file format is the same as
the one used by the "Hacha" software, a well known splitter in Spain and
Latinamerica. HOZ is an open-source and portable C implementation of an
"Hacha" compatible splitter.
PR: ports/86245 (based on)
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Diffstat (limited to 'sysutils/hoz/Makefile')
-rw-r--r-- | sysutils/hoz/Makefile | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/sysutils/hoz/Makefile b/sysutils/hoz/Makefile new file mode 100644 index 000000000000..40c141084b03 --- /dev/null +++ b/sysutils/hoz/Makefile @@ -0,0 +1,74 @@ +# 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 +CATEGORIES= sysutils +MASTER_SITES= http://hoz.sourceforge.net/download/ +DISTNAME= hoz-165 + +MAINTAINER= acardenas@bsd.org.pe +COMMENT= File splitter, GTK and CLI versions + +USE_GNOME= # +USE_GMAKE= yes +USE_GZIP= yes + +USE_GETOPT_LONG=yes +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +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> |