git: 2e682b204565 - main - devel/libac: Install header file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 15:39:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2e682b2045651804cb744b161da30b2bf2bb051a
commit 2e682b2045651804cb744b161da30b2bf2bb051a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:31:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:49 +0000
devel/libac: Install header file
- Bump PORTREVISION for package change
---
devel/libac/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/devel/libac/Makefile b/devel/libac/Makefile
index 7962aabbe566..1dc7846b37aa 100644
--- a/devel/libac/Makefile
+++ b/devel/libac/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libac
PORTVERSION= g20190308
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
@@ -11,7 +12,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
-PLIST_FILES= lib/libac.a \
+PLIST_FILES= include/ac.h \
+ lib/libac.a \
lib/libac.so
USE_GITHUB= yes
@@ -20,6 +22,7 @@ GH_PROJECT= lua-aho-corasick
GH_TAGNAME= ca6043c
do-install:
+ ${INSTALL_DATA} ${WRKSRC}/ac.h ${STAGEDIR}${PREFIX}/include/ac.h
${INSTALL_DATA} ${WRKSRC}/libac.a ${STAGEDIR}${PREFIX}/lib/libac.a
${INSTALL_LIB} ${WRKSRC}/libac.so ${STAGEDIR}${PREFIX}/lib/libac.so