mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
470f75f1f8
of code blocks to drop gcc 3.2 dependency on 4.x. Bump PORTREVISION. PR: 105832 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
46 lines
956 B
Makefile
46 lines
956 B
Makefile
# New ports collection makefile for: unzoo
|
|
# Date created: 20 Jun 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unzoo
|
|
PORTVERSION= 4.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= archivers
|
|
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
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A zoo archive extractor
|
|
|
|
EXTRA_DEFINES= -DSYS_IS_UNIX -DSYS_HAS_MKDIR
|
|
|
|
MAN1= unzoo.1
|
|
PLIST_FILES= bin/unzoo
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 503000
|
|
CFLAGS+= -trigraphs
|
|
.endif
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${MV} ${WRKDIR}/${PORTNAME}.c ${WRKSRC}
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
|
|
${WRKSRC}/${PORTNAME}.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|