mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Fix build on 8.x and 9.x
- Add LICENSE, desktop entry file - Support staging PR: ports/184848 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
ff4f531cd7
commit
d0a27f1d94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337417
@ -3,29 +3,30 @@
|
||||
|
||||
PORTNAME= openglad
|
||||
PORTVERSION= 0.98
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= SDL port of an old DOS game called Gladiator
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
LICENSE= GPLv2 # (or later)
|
||||
|
||||
USES= gmake
|
||||
USE_SDL= sdl mixer
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
|
||||
|
||||
NOT_FOR_ARCHS= sparc64
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
|
||||
${WRKSRC}/openglad.cfg
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/path/to/data/dir|${DATADIR}|' ${WRKSRC}/openglad.cfg
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,46 +0,0 @@
|
||||
--- Makefile.in.orig Tue May 13 17:07:41 2003
|
||||
+++ Makefile.in Tue May 13 17:08:30 2003
|
||||
@@ -77,7 +77,7 @@
|
||||
docs_DOCS = NEWS README ChangeLog release-notes.txt cheats.txt \
|
||||
scen.txt AUTHORS COPYING INSTALL
|
||||
|
||||
-docdir = ${DESTDIR}/$(prefix)/share/doc/@PACKAGE@
|
||||
+docdir = $(prefix)/share/doc/@PACKAGE@
|
||||
|
||||
EXTRA_DIST = scen/*.fss start.tex glad.hlp openglad.cfg cheats.txt pix/*.pix \
|
||||
$(docs_DOCS)
|
||||
@@ -121,20 +121,20 @@
|
||||
uninstall-info-am:
|
||||
install-dataDATA: $(data_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- $(mkinstalldirs) $(DESTDIR)$(datadir)
|
||||
+ $(mkinstalldirs) $(datadir)
|
||||
@list='$(data_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f"; \
|
||||
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f; \
|
||||
+ echo " $(INSTALL_DATA) $$d$$p $(datadir)/$$f"; \
|
||||
+ $(INSTALL_DATA) $$d$$p $(datadir)/$$f; \
|
||||
done
|
||||
|
||||
uninstall-dataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(data_DATA)'; for p in $$list; do \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
- echo " rm -f $(DESTDIR)$(datadir)/$$f"; \
|
||||
- rm -f $(DESTDIR)$(datadir)/$$f; \
|
||||
+ echo " rm -f $(datadir)/$$f"; \
|
||||
+ rm -f $(datadir)/$$f; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
@@ -314,7 +314,7 @@
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
- $(mkinstalldirs) $(DESTDIR)$(datadir)
|
||||
+ $(mkinstalldirs) $(datadir)
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
|
@ -1,7 +1,6 @@
|
||||
bin/openglad
|
||||
bin/openscen
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
|
Loading…
Reference in New Issue
Block a user