1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/archivers/par/Makefile
Alexey Dokuchaev 508e510d12 Add par 0.03.01, an archiver for Quake I and II packed data files (pakX.pak).
It supports listing, extraction, and creation of .pak archives.

WWW: http://ibiblio.org/pub/linux/games/quake/
2013-04-28 09:25:08 +00:00

38 lines
838 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= par
PORTVERSION= 0.03.01
CATEGORIES= archivers games
MASTER_SITES= http://ibiblio.org/pub/linux/games/quake/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Archiver for Quake I and II packed data files
LICENSE= GPLv2
MAKEFILE= Makefile.Linux
MAKE_ARGS= CC="${CC}"
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,-Wall.*-pipe,${CFLAGS}, ; \
s,\"Linux,\"${OPSYS},' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>