blob: 66557510a9642b5e9735e489def13c5e0bcb7bc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
PORTNAME= mar
DISTVERSION= 0.5
CATEGORIES= archivers
MASTER_SITES= LOCAL/ehaupt
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Simple binary file format for storing arbitrary meta and user data
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E "s#^(CFLAGS\ |CXXFLAGS\ |CC\ |CXX\ )#\1?#" \
${WRKSRC}/src/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 \
${STAGEDIR}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|