aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unlzx/Makefile
blob: 5e22083c944538c4a85fc443c19251f5e39ed683 (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
# New ports collection makefile for:    unlzx
# Date created:             Sat 3 June 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   unlzx
PORTVERSION=    1.0
CATEGORIES= archivers
MASTER_SITES=   ftp://de.aminet.net/pub/aminet/misc/unix/ \
        ftp://us.aminet.net/pub/aminet/misc/unix/
DISTNAME=   ${PORTNAME}.c
EXTRACT_SUFX=   .Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Extracts .lzx archives from Amiga systems

NO_WRKSUBDIR=       yes
PLIST_FILES=    bin/unlzx

do-extract:
    ${MKDIR} ${WRKDIR}
    ${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/${DISTNAME}

do-build:
    cd ${WRKSRC} && ${CC} ${CFLAGS} -o unlzx unlzx.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/unlzx ${PREFIX}/bin

.include <bsd.port.mk>