summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2014-10-03 16:51:00 +0000
committerkhorben <khorben@pkgsrc.org>2014-10-03 16:51:00 +0000
commitc79635b10b8780a4a8183735a6dc4e866847ddd0 (patch)
treeb30b16b71f3aa14b7070c7d6c02b587bcdf91494 /devel
parent8f588c999f1ffa7e5561dbeb90f51bb77e39ff9d (diff)
downloadpkgsrc-c79635b10b8780a4a8183735a6dc4e866847ddd0.tar.gz
Moved the manual pages to PKGMANDIR as they should
Diffstat (limited to 'devel')
-rw-r--r--devel/deforaos-libsystem/Makefile15
-rw-r--r--devel/deforaos-libsystem/PLIST6
2 files changed, 17 insertions, 4 deletions
diff --git a/devel/deforaos-libsystem/Makefile b/devel/deforaos-libsystem/Makefile
index 7a32acbe0af..b4942ccb144 100644
--- a/devel/deforaos-libsystem/Makefile
+++ b/devel/deforaos-libsystem/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2014/09/23 12:06:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2014/10/03 16:51:00 khorben Exp $
#
DISTNAME= libSystem-0.2.0
PKGNAME= deforaos-libsystem-0.2.0
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.defora.org/os/download/download/4330/
@@ -15,6 +16,18 @@ LICENSE= gnu-lgpl-v3
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= DESTDIR=${DESTDIR}
MAKE_FLAGS+= INSTALL=${INSTALL}
+AUTO_MKDIRS= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGMANDIR} != "share/man"
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/share/man/html1/configctl.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/configctl.html
+ ${MV} ${DESTDIR}${PREFIX}/share/man/man1/configctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/configctl.1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man
+.endif
REPLACE_SH= tests/tests.sh
diff --git a/devel/deforaos-libsystem/PLIST b/devel/deforaos-libsystem/PLIST
index 67477ead96d..2c7088a83bf 100644
--- a/devel/deforaos-libsystem/PLIST
+++ b/devel/deforaos-libsystem/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2014/09/16 19:25:51 khorben Exp $
+@comment $NetBSD: PLIST,v 1.5 2014/10/03 16:51:00 khorben Exp $
bin/configctl
include/System.h
include/System/array.h
@@ -21,6 +21,8 @@ lib/libSystem.so
lib/libSystem.so.0
lib/libSystem.so.0.0
lib/pkgconfig/libSystem.pc
+man/html1/configctl.html
+man/man1/configctl.1
share/doc/libSystem/README.md
share/gtk-doc/html/libSystem/api-index-full.html
share/gtk-doc/html/libSystem/ch01.html
@@ -48,5 +50,3 @@ share/gtk-doc/html/libSystem/right.png
share/gtk-doc/html/libSystem/style.css
share/gtk-doc/html/libSystem/up-insensitive.png
share/gtk-doc/html/libSystem/up.png
-share/man/html1/configctl.html
-share/man/man1/configctl.1