1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/archivers/hlextract/Makefile
2014-03-07 15:35:40 +00:00

32 lines
723 B
Makefile

# 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= danilo@FreeBSD.org
COMMENT= Utility to extract data from various Half-Life file formats
LICENSE= GPLv2
LIB_DEPENDS= libhl.so:${PORTSDIR}/games/hllib
USES= dos2unix zip
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} ${STAGEDIR}/${PREFIX}/bin
.include <bsd.port.mk>