aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unzoo/Makefile
blob: 56397c9b36ef4e47157ff55242edd0527e9b835f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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/unzoo/

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} >= 500000
CFLAGS+=    -trigraphs
.endif

do-build:
    ${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1

.include <bsd.port.post.mk>