diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-01-11 12:51:31 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-01-11 12:51:31 +0000 |
commit | 6aae51b6c6bed4f950fa25b15ef65f22046b90d2 (patch) | |
tree | 6232801a80e99c7ac83d529429412cd9e62d9eb1 /x11-clocks/osdclock | |
parent | f41f2099de95074829f9a4a925d7574711edb5c2 (diff) |
Support stagedir.
Submitted by: portmgr (blanket infrastructure)
Notes
Notes:
svn path=/head/; revision=339424
Diffstat (limited to 'x11-clocks/osdclock')
-rw-r--r-- | x11-clocks/osdclock/Makefile | 6 | ||||
-rw-r--r-- | x11-clocks/osdclock/files/patch-Makefile | 14 |
2 files changed, 16 insertions, 4 deletions
diff --git a/x11-clocks/osdclock/Makefile b/x11-clocks/osdclock/Makefile index b6436b8227dc..595bf19a93de 100644 --- a/x11-clocks/osdclock/Makefile +++ b/x11-clocks/osdclock/Makefile @@ -19,11 +19,9 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ PREFIX="${PREFIX}" -PLIST_FILES= bin/osd_clock -MAN1= osd_clock.1 +PLIST_FILES= bin/osd_clock man/man1/osd_clock.1.gz -NO_STAGE= yes post-install: - ${STRIP_CMD} ${PREFIX}/bin/osd_clock + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/osd_clock .include <bsd.port.mk> diff --git a/x11-clocks/osdclock/files/patch-Makefile b/x11-clocks/osdclock/files/patch-Makefile new file mode 100644 index 000000000000..ddf39b8d0032 --- /dev/null +++ b/x11-clocks/osdclock/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2014-01-11 19:21:51.000000000 +0800 ++++ Makefile 2014-01-11 19:22:23.000000000 +0800 +@@ -37,9 +37,8 @@ osd_clock: osd_clock.o + tar: xosd-$(VERSION).tar.gz + + install: all +- $(INSTALL) osd_clock $(BINDIR) +- mkdir -p $(MANDIR)/man1 $(MANDIR)/man3 +- $(INSTALL_DATA) osd_clock.1 $(MANDIR)/man1/ ++ $(INSTALL) osd_clock $(DESTDIR)$(BINDIR) ++ $(INSTALL_DATA) osd_clock.1 $(DESTDIR)$(MANDIR)/man1/ + + clean: + rm -f *~ *.o *.o.pic osd_clock |