summaryrefslogtreecommitdiff
path: root/archivers/hlextract/Makefile
blob: 864244ef5513d9406e699b3a07e17ddb0fff13cf (plain)
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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	hlextract
PORTVERSION=	2.4.4
CATEGORIES=	archivers games
MASTER_SITES=	http://nemesis.thewavelength.net/files/files/
DISTNAME=	hllib${PORTVERSION:S/.//g}

MAINTAINER=	danilogondolfo@gmail.com
COMMENT=	Utility to extract data from various Half-Life file formats

LICENSE=	GPLv2

LIB_DEPENDS=	hl:${PORTSDIR}/games/hllib

NO_STAGE=	yes
USE_DOS2UNIX=	yes
USE_ZIP=	yes
WRKSRC=		${WRKDIR}/HLExtract

PATCH_WRKSRC=	${WRKDIR}

PLIST_FILES=	bin/${PORTNAME}

do-build:
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
		${WRKSRC}/Main.c -o ${WRKSRC}/${PORTNAME} -lhl

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

.include <bsd.port.mk>