diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-02-09 18:55:35 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-02-09 18:55:35 +0000 |
commit | 6c6c15821da6e6021f524c12df89c5db69b9bdad (patch) | |
tree | 875f9f20b3f1c59900f35d8894c2b388e5709ebe /games/freesweep | |
parent | 7a85086827735dd8d969b77b363defb85c66516f (diff) | |
download | ports-6c6c15821da6e6021f524c12df89c5db69b9bdad.tar.gz ports-6c6c15821da6e6021f524c12df89c5db69b9bdad.zip |
Notes
Diffstat (limited to 'games/freesweep')
-rw-r--r-- | games/freesweep/Makefile | 13 | ||||
-rw-r--r-- | games/freesweep/files/patch-Makefile.in | 24 |
2 files changed, 29 insertions, 8 deletions
diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile index 5b2b3cd7e808..1c44bc2b723a 100644 --- a/games/freesweep/Makefile +++ b/games/freesweep/Makefile @@ -12,25 +12,22 @@ COMMENT= Minesweeper-style game for text-mode terminals LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \ --with-scoresdir=${DATADIR} \ --disable-debug-log ALL_TARGET= ${PORTNAME} -MAN6= freesweep.6 PORTDOCS= CHANGES README -PLIST_FILES= bin/freesweep %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes +PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \ + %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> diff --git a/games/freesweep/files/patch-Makefile.in b/games/freesweep/files/patch-Makefile.in new file mode 100644 index 000000000000..7551f9625d49 --- /dev/null +++ b/games/freesweep/files/patch-Makefile.in @@ -0,0 +1,24 @@ +--- Makefile.in.orig 2003-10-11 16:49:24.000000000 -0400 ++++ Makefile.in 2014-02-09 13:35:36.000000000 -0500 +@@ -17,7 +17,7 @@ + srcdir = @srcdir@ + VPATH = @srcdir@ + +-prefix = @prefix@ ++prefix = $(DESTDIR)@prefix@ + exec_prefix = @exec_prefix@ + #bindir = $(exec_prefix)/bin + bindir = @bindir@ +@@ -61,9 +61,9 @@ + install: $(TARGET) $(TARGET).6 + touch sweeptimes + ./install-sh -c -m 2555 -o root -g games -s $(TARGET) $(bindir)/$(TARGET) +- ./install-sh -c -m 0664 -o root -g games sweeptimes @SCORESDIR@/sweeptimes +- ./install-sh -c -m 0644 -o root -g games sweeprc @PREFSDIR@/sweeprc +- ./install-sh -c -m 0444 -o root -g games $(TARGET).6 @mandir@/man6/$(TARGET).6 ++ ./install-sh -c -m 0664 -o root -g games sweeptimes $(DESTDIR)@SCORESDIR@/sweeptimes ++ ./install-sh -c -m 0644 -o root -g games sweeprc $(DESTDIR)@PREFSDIR@/sweeprc ++ ./install-sh -c -m 0444 -o root -g games $(TARGET).6 $(DESTDIR)@mandir@/man6/$(TARGET).6 + + distclean: + @make sterile |