aboutsummaryrefslogtreecommitdiff
path: root/deskutils/fusenshi
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-05 00:01:29 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-05 00:01:29 +0000
commit2e071148542cd98a0a4ce116b408147b7e8e5fa8 (patch)
tree86d2ce9b8fbe03b31fd1a06e8a4709f9e66abbe2 /deskutils/fusenshi
parentbce680e29777fb450d67b75885f4096a604b423b (diff)
downloadports-2e071148542cd98a0a4ce116b408147b7e8e5fa8.tar.gz
ports-2e071148542cd98a0a4ce116b408147b7e8e5fa8.zip
Notes
Diffstat (limited to 'deskutils/fusenshi')
-rw-r--r--deskutils/fusenshi/Makefile3
-rw-r--r--deskutils/fusenshi/files/patch-po-Makefile14
-rw-r--r--deskutils/fusenshi/files/patch-src-Makefile19
3 files changed, 34 insertions, 2 deletions
diff --git a/deskutils/fusenshi/Makefile b/deskutils/fusenshi/Makefile
index e4f695f21c9a..93f37516fc63 100644
--- a/deskutils/fusenshi/Makefile
+++ b/deskutils/fusenshi/Makefile
@@ -24,8 +24,7 @@ MAKE_ARGS+= WITHOUT_SSL=yes
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls
.endif
-NO_STAGE= yes
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/fusenshi
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fusenshi
.include <bsd.port.mk>
diff --git a/deskutils/fusenshi/files/patch-po-Makefile b/deskutils/fusenshi/files/patch-po-Makefile
new file mode 100644
index 000000000000..83accc4e8556
--- /dev/null
+++ b/deskutils/fusenshi/files/patch-po-Makefile
@@ -0,0 +1,14 @@
+--- po/Makefile.orig 2014-07-05 00:12:52.864252821 +0800
++++ po/Makefile 2014-07-05 00:13:07.164234705 +0800
+@@ -51,9 +51,9 @@ update-po: build-po
+ msgmerge ${LANG}.po ${GETTEXT_PACKAGE}.pot -o ${LANG}.po
+
+ install:
+- install -d -m 755 ${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES
++ install -d -m 755 $(DESTDIR)${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES
+ install -c -m 644 ${LANG}.gmo \
+- ${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES/${GETTEXT_PACKAGE}.mo
++ $(DESTDIR)${PACKAGE_LOCALE_DIR}/${LANG}/LC_MESSAGES/${GETTEXT_PACKAGE}.mo
+
+ clean:
+ rm -f ${LANG}.gmo
diff --git a/deskutils/fusenshi/files/patch-src-Makefile b/deskutils/fusenshi/files/patch-src-Makefile
new file mode 100644
index 000000000000..982850d61d5e
--- /dev/null
+++ b/deskutils/fusenshi/files/patch-src-Makefile
@@ -0,0 +1,19 @@
+--- src/Makefile.orig 2014-07-05 00:11:32.020240534 +0800
++++ src/Makefile 2014-07-05 00:12:26.524236990 +0800
+@@ -98,12 +98,12 @@ build: ${OBJ}
+ ${CXX} ${CXXFLAGS} -o ${<:.cpp=.o} -c $<
+
+ install:
+- install -c -m 755 ${TARGET} ${PREFIX}/bin/
+- install -d -m 755 ${PACKAGE_DATA_DIR}/${TARGET}/pixmaps
++ install -c -m 755 ${TARGET} $(DESTDIR)${PREFIX}/bin/
++ install -d -m 755 $(DESTDIR)${PACKAGE_DATA_DIR}/${TARGET}/pixmaps
+ install -c -m 644 ../pixmaps/${TARGET}.xpm \
+- ${PACKAGE_DATA_DIR}/${TARGET}/pixmaps/
++ $(DESTDIR)${PACKAGE_DATA_DIR}/${TARGET}/pixmaps/
+ install -c -m 644 ../pixmaps/${TARGET}_small.xpm \
+- ${PACKAGE_DATA_DIR}/${TARGET}/pixmaps/
++ $(DESTDIR)${PACKAGE_DATA_DIR}/${TARGET}/pixmaps/
+
+ clean:
+ rm -f ${OBJ}