cc78eb1c21
PR: 101784 Submitted by: gabor
40 lines
826 B
Makefile
40 lines
826 B
Makefile
# New ports collection makefile for: unzoo
|
|
# Date created: 20 Jun 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unzoo
|
|
DISTVERSION= 4.4
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A zoo archive extractor
|
|
|
|
EXTRA_DEFINES= -DSYS_IS_UNIX -DSYS_HAS_MKDIR
|
|
|
|
PLIST_FILES= bin/unzoo
|
|
|
|
MAN1= unzoo.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 503000
|
|
CFLAGS+= -trigraphs
|
|
.endif
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
|
|
${WRKSRC}/${PORTNAME}.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|