2013-03-08 15:00:30 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-06-20 20:02:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= unzoo
|
2006-11-14 08:28:37 +01:00
|
|
|
PORTVERSION= 4.4
|
2006-11-25 00:49:46 +01:00
|
|
|
PORTREVISION= 2
|
2005-06-20 20:02:18 +02:00
|
|
|
CATEGORIES= archivers
|
2008-12-06 18:59:45 +01:00
|
|
|
MASTER_SITES= CRITICAL
|
2006-11-14 08:28:37 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= unzoo_4.4-4.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
2005-06-20 20:02:18 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 15:00:30 +01:00
|
|
|
COMMENT= ZOO archive extractor
|
2005-06-20 20:02:18 +02:00
|
|
|
|
2009-03-27 10:53:36 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2006-11-14 08:28:37 +01:00
|
|
|
EXTRA_DEFINES= -DSYS_IS_UNIX -DSYS_HAS_MKDIR
|
2005-06-20 20:02:18 +02:00
|
|
|
|
|
|
|
MAN1= unzoo.1
|
2006-11-14 08:28:37 +01:00
|
|
|
PLIST_FILES= bin/unzoo
|
2005-06-20 20:02:18 +02:00
|
|
|
|
|
|
|
CFLAGS+= -trigraphs
|
|
|
|
|
2006-11-14 08:28:37 +01:00
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@${MV} ${WRKDIR}/${PORTNAME}.c ${WRKSRC}
|
|
|
|
|
2005-06-20 20:02:18 +02:00
|
|
|
do-build:
|
2006-05-29 14:49:45 +02:00
|
|
|
${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
|
|
|
|
${WRKSRC}/${PORTNAME}.c
|
2005-06-20 20:02:18 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-08-04 13:41:30 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2006-11-14 08:28:37 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
2005-06-20 20:02:18 +02:00
|
|
|
|
2008-07-18 07:13:38 +02:00
|
|
|
.include <bsd.port.mk>
|