# Created by: Alexey Dokuchaev # $FreeBSD: head/archivers/hlextract/Makefile 412344 2016-04-01 13:29:15Z mat $ PORTNAME= hlextract PORTVERSION= 2.4.4 CATEGORIES= archivers games MASTER_SITES= LOCAL/danilo 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: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