1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/archivers/unace/Makefile

32 lines
770 B
Makefile
Raw Normal View History

# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
1999-08-25 04:25:23 +00:00
# $FreeBSD$
PORTNAME= unace
PORTVERSION= 1.2b
PORTREVISION= 3
CATEGORIES= archivers
MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= rodrigo@FreeBSD.org
2003-02-21 10:44:59 +00:00
COMMENT= Extract, view & test ACE archives
MAKE_JOBS_UNSAFE= yes
USES= cpe gmake
CPE_VENDOR= unace_project
ALL_TARGET= clean unace
PLIST_FILES= bin/unace
post-patch:
@${REINPLACE_CMD} -e "s|CFLAGS =|CFLAGS ?=|" \
-e "s|CC =|CC ?=|" \
-e 's|gcc $$(CFLAGS)|$${CC} $$(CFLAGS)|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|(CHAR \* s, thead \* head, INT nopath);|(CHAR \* s, thead \* head, INT nopath, unsigned int size);|' \
${WRKSRC}/uac_crt.h
do-install:
2013-12-26 15:38:54 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/unace ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>