mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
48b16bc177
Feature safe: yes
38 lines
766 B
Makefile
38 lines
766 B
Makefile
# New ports collection makefile for: unmass
|
|
# Date created: 14 Aug 2007
|
|
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unmass
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://mirex.mypage.sk/FILES/ \
|
|
CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Extract game archives such as wad, dar, mea exe's and many more
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_DOS2UNIX= yes
|
|
MAKE_JOBS_SAFE= 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>
|