diff options
Diffstat (limited to 'sysutils/libgtop')
-rw-r--r-- | sysutils/libgtop/Makefile | 15 | ||||
-rw-r--r-- | sysutils/libgtop/PLIST | 8 |
2 files changed, 11 insertions, 12 deletions
diff --git a/sysutils/libgtop/Makefile b/sysutils/libgtop/Makefile index 2ec269a29ab..007acb82a8a 100644 --- a/sysutils/libgtop/Makefile +++ b/sysutils/libgtop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/03/18 17:46:27 drochner Exp $ +# $NetBSD: Makefile,v 1.18 2008/04/12 22:43:12 jlam Exp $ DISTNAME= libgtop-2.20.2 CATEGORIES= sysutils gnome @@ -43,18 +43,17 @@ PRINT_PLIST_AWK+= /^include\/libgtop-2.0\/glibtop_suid.h$$/ \ CONFIGURE_ENV+= fu_cv_sys_mounted_getmntinfo=yes .endif +PLIST_VARS+= server suid.h .if ${OPSYS} == "Linux" -PLIST_SUBST+= LIBGTOP_SERVER="@comment " -PLIST_SUBST+= LIBGTOP_SUID_H="@comment " +# nothing .elif ${OPSYS} == "SunOS" -PLIST_SUBST+= LIBGTOP_SERVER="" -PLIST_SUBST+= LIBGTOP_SUID_H="@comment " +PLIST.server= yes .else -PLIST_SUBST+= LIBGTOP_SERVER="" -PLIST_SUBST+= LIBGTOP_SUID_H="" +PLIST.server= yes +PLIST.suid.h= yes .endif -.if ${OPSYS} != "Linux" +.if defined(PLIST.server) post-install: ${CHMOD} g+s ${PREFIX}/bin/libgtop_server2 .endif diff --git a/sysutils/libgtop/PLIST b/sysutils/libgtop/PLIST index d754b73e98b..9062acf7e60 100644 --- a/sysutils/libgtop/PLIST +++ b/sysutils/libgtop/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.5 2007/11/05 19:06:02 drochner Exp $ -${LIBGTOP_SERVER}bin/libgtop_daemon2 -${LIBGTOP_SERVER}bin/libgtop_server2 +@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:12 jlam Exp $ +${PLIST.server}bin/libgtop_daemon2 +${PLIST.server}bin/libgtop_server2 include/libgtop-2.0/glibtop.h include/libgtop-2.0/glibtop/close.h include/libgtop-2.0/glibtop/command.h @@ -40,7 +40,7 @@ include/libgtop-2.0/glibtop/uptime.h include/libgtop-2.0/glibtop/version.h include/libgtop-2.0/glibtop_machine.h include/libgtop-2.0/glibtop_server.h -${LIBGTOP_SUID_H}include/libgtop-2.0/glibtop_suid.h +${PLIST.suid.h}include/libgtop-2.0/glibtop_suid.h include/libgtop-2.0/libgtopconfig.h info/libgtop2.info lib/libgtop-2.0.la |