1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/archivers/unmass/Makefile

34 lines
682 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= unmass
PORTVERSION= 0.9
CATEGORIES= archivers
MASTER_SITES= http://mirex.mypage.sk/FILES/ \
2008-03-27 22:15:47 +00:00
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
2012-07-25 06:32:06 +00:00
COMMENT= Extract game archives such as wad, dar, mea exe's, and many more
2011-12-27 15:14:23 +00:00
LICENSE= GPLv2
NO_STAGE= yes
USES= gmake
GNU_CONFIGURE= yes
USE_DOS2UNIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/kdev
PLIST_FILES= bin/unmass
post-patch:
.for f in ma.cpp massfs.h utools.h
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' ${WRKSRC}/src/${f}
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}_kdev \
${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>