2005-06-20 20:02:18 +02:00
|
|
|
# New ports collection makefile for: unzoo
|
|
|
|
# Date created: 20 Jun 2005
|
|
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
|
|
#
|
|
|
|
# $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
|
2006-11-14 08:28:37 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
|
|
|
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
|
2005-06-20 20:02:18 +02:00
|
|
|
COMMENT= A zoo archive extractor
|
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-05-29 14:49:45 +02:00
|
|
|
.if ${OSVERSION} >= 503000
|
2005-06-20 20:02:18 +02:00
|
|
|
CFLAGS+= -trigraphs
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|