From 00bda700bcc5bf1222cffd023f08f3490ea99a26 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 11 Jan 2014 10:03:45 +0000 Subject: Support stagedir. Approved by: portmgr (blanket infrastructure) --- x11/yalias/Makefile | 5 ++--- x11/yalias/files/patch-Makefile | 17 +++++++++++++++++ x11/yalias/pkg-plist | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 x11/yalias/files/patch-Makefile (limited to 'x11/yalias') diff --git a/x11/yalias/Makefile b/x11/yalias/Makefile index 25b381728fa8..11f956f4d07e 100644 --- a/x11/yalias/Makefile +++ b/x11/yalias/Makefile @@ -14,15 +14,14 @@ COMMENT= An enhanced execution box with regex pattern matching USES= pkgconfig USE_GNOME= gtk20 -NO_STAGE= yes ALL_TARGET= yalias MAKE_ARGS= prefix=${PREFIX} YALIASDIR=${DATADIR} .ifndef(NOPORTDOCS) post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/x11/yalias/files/patch-Makefile b/x11/yalias/files/patch-Makefile new file mode 100644 index 000000000000..c18c809a37a8 --- /dev/null +++ b/x11/yalias/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig 2014-01-11 00:02:15.000000000 +0800 ++++ Makefile 2014-01-11 00:02:45.000000000 +0800 +@@ -23,10 +23,10 @@ clean: + distclean: clean + + install: yalias +- mkdir -p $(bindir) +- install -m755 yalias $(bindir)/yalias +- mkdir -p $(YALIASDIR) +- install -m644 system.yaliasrc $(YALIASDIR)/system.yaliasrc ++ mkdir -p $(DESTDIR)$(bindir) ++ install -m755 yalias $(DESTDIR)$(bindir)/yalias ++ mkdir -p $(DESTDIR)$(YALIASDIR) ++ install -m644 system.yaliasrc $(DESTDIR)$(YALIASDIR)/system.yaliasrc + + dist: distclean + -cd .. && ln -sf $(PACKAGE) $(DISTNAME) && tar --exclude='CVS' --exclude='old' -czhpvf $(DISTNAME).tar.gz $(DISTNAME) diff --git a/x11/yalias/pkg-plist b/x11/yalias/pkg-plist index 8bc8bdbedcd0..855a5a565d5d 100644 --- a/x11/yalias/pkg-plist +++ b/x11/yalias/pkg-plist @@ -1,5 +1,5 @@ bin/yalias +%%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/system.yaliasrc @dirrm %%DATADIR%% -%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3