1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/archivers/hlextract/Makefile
Karsten Pedersen a903d2697f
archivers/hlextract: Update to 2.4.6
Pass maintainership to the submitter

PR:		256250
2021-06-01 12:52:26 +08:00

31 lines
700 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= hlextract
PORTVERSION= 2.4.6
CATEGORIES= archivers games
MASTER_SITES= https://github.com/osen/distfiles/raw/main/
DISTNAME= hllib${PORTVERSION:S/.//g}
MAINTAINER= kpedersen@disroot.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 <bsd.port.mk>