1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/archivers/libcabinet/Makefile
Mark Linimon 922dee671e These ports now build on aarch64.
Where necessary, pet portlint.

Approved by:	portmgr
Obtained from:	aarch64 TRYBROKEN run
2019-05-03 21:06:51 +00:00

29 lines
710 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= libcabinet
PORTVERSION= 0.30
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable library and utility to use Microsoft cabinet files (.cab)
USES= uidfix
USE_LDCONFIG= yes
SRCFILE= ${WRKSRC}/listcab.cpp
PROGFILE= ${SRCFILE:S/.cpp$//}
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
post-build:
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet -lz
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/cabinet
post-install:
${INSTALL_PROGRAM} ${PROGFILE} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>