mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
42542fb076
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
35 lines
890 B
Makefile
35 lines
890 B
Makefile
# New ports collection makefile for: unace
|
|
# URL: http://members.aol.com/mlemke6413/ace.html
|
|
# Date created: 23 February 1999
|
|
# Whom: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unace
|
|
PORTVERSION= 1.2b
|
|
PORTREVISION= 2
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= utils/compress
|
|
|
|
MAINTAINER= jonny@jonny.eng.br
|
|
COMMENT= Extract, view & test ACE archives
|
|
|
|
USE_GMAKE= yes
|
|
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 ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|