183e304f0e
Approved by: portmgr blanket
31 lines
770 B
Makefile
31 lines
770 B
Makefile
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= unace
|
|
PORTVERSION= 1.2b
|
|
PORTREVISION= 3
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= SUNSITE/utils/compress
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unace ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|