From Michael (michi+openbsd!dataswamp!org). Help and OK jca@.
Comment: static git page generator Description: stagit generates static HTML pages for a git repository, making it a light alternative for gitweb or cgit. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: http://git.2f30.org/stagit/
This commit is contained in:
parent
f5a5684052
commit
5396437e06
24
www/stagit/Makefile
Normal file
24
www/stagit/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/04/26 13:53:10 juanfra Exp $
|
||||
|
||||
COMMENT = static git page generator
|
||||
|
||||
DISTNAME = stagit-0.3.1
|
||||
|
||||
CATEGORIES = www
|
||||
|
||||
HOMEPAGE = http://git.2f30.org/stagit/
|
||||
|
||||
# MIT/X Consortium License
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = c git2
|
||||
LIB_DEPENDS = devel/libgit2/libgit2>=0.22
|
||||
|
||||
MASTER_SITES = http://dl.2f30.org/releases/
|
||||
|
||||
MAKE_FLAGS= GITINC=${LOCALBASE}/include \
|
||||
GITLIB=${LOCALBASE}/lib
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/stagit/distinfo
Normal file
2
www/stagit/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (stagit-0.3.1.tar.gz) = Oi2+5vfodAmb0qPOaCYokALYBBqK7AMB06hMkYQzCsA=
|
||||
SIZE (stagit-0.3.1.tar.gz) = 14143
|
28
www/stagit/patches/patch-Makefile
Normal file
28
www/stagit/patches/patch-Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2016/04/26 13:53:10 juanfra Exp $
|
||||
--- Makefile.orig Fri Mar 25 10:20:24 2016
|
||||
+++ Makefile Sat Apr 23 13:11:03 2016
|
||||
@@ -26,7 +26,7 @@ COMPATOBJ = \
|
||||
strlcat.o\
|
||||
strlcpy.o
|
||||
|
||||
-OBJ = ${SRC:.c=.o} ${COMPATOBJ}
|
||||
+OBJ = ${SRC:.c=.o}
|
||||
|
||||
all: $(BIN)
|
||||
|
||||
@@ -55,11 +55,11 @@ config.h:
|
||||
@echo creating $@ from config.def.h
|
||||
@cp config.def.h $@
|
||||
|
||||
-stagit: stagit.o ${COMPATOBJ}
|
||||
- ${CC} -o $@ stagit.o ${COMPATOBJ} ${LDFLAGS}
|
||||
+stagit: stagit.o
|
||||
+ ${CC} -o $@ stagit.o ${LDFLAGS}
|
||||
|
||||
-stagit-index: stagit-index.o ${COMPATOBJ}
|
||||
- ${CC} -o $@ stagit-index.o ${COMPATOBJ} ${LDFLAGS}
|
||||
+stagit-index: stagit-index.o
|
||||
+ ${CC} -o $@ stagit-index.o ${LDFLAGS}
|
||||
|
||||
clean:
|
||||
rm -f ${BIN} ${OBJ}
|
12
www/stagit/patches/patch-compat_h
Normal file
12
www/stagit/patches/patch-compat_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-compat_h,v 1.1.1.1 2016/04/26 13:53:10 juanfra Exp $
|
||||
--- compat.h.orig Tue Apr 26 02:15:26 2016
|
||||
+++ compat.h Tue Apr 26 02:16:53 2016
|
||||
@@ -1,6 +1,8 @@
|
||||
+#if 0
|
||||
#undef strlcat
|
||||
size_t strlcat(char *, const char *, size_t);
|
||||
#undef strlcpy
|
||||
size_t strlcpy(char *, const char *, size_t);
|
||||
#undef reallocarray
|
||||
void *reallocarray(void *, size_t, size_t);
|
||||
+#endif
|
2
www/stagit/pkg/DESCR
Normal file
2
www/stagit/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
stagit generates static HTML pages for a git repository, making it a light
|
||||
alternative for gitweb or cgit.
|
11
www/stagit/pkg/PLIST
Normal file
11
www/stagit/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/04/26 13:53:10 juanfra Exp $
|
||||
@bin bin/stagit
|
||||
@bin bin/stagit-index
|
||||
@man man/man1/stagit-index.1
|
||||
@man man/man1/stagit.1
|
||||
share/stagit/
|
||||
share/stagit/README
|
||||
share/stagit/example.sh
|
||||
share/stagit/favicon.png
|
||||
share/stagit/logo.png
|
||||
share/stagit/style.css
|
Loading…
x
Reference in New Issue
Block a user