Just getting started on a port of xosview-1.16. Removed all patches,
since none applies any more. The configure script is gone, so there needs to be logic to set PLATFORM.
This commit is contained in:
parent
264f189f19
commit
b2834c4c18
4 changed files with 61 additions and 0 deletions
3
xosview/DESCR
Normal file
3
xosview/DESCR
Normal file
|
@ -0,0 +1,3 @@
|
|||
xosview (or XOsview, or XOSView, take your pick!) is an application
|
||||
originally developed by Mike Romberg for Linux. It can be summarized
|
||||
as a graphical performance meter.
|
49
xosview/Makefile
Normal file
49
xosview/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# $NetBSD: Makefile,v 1.1 2015/05/03 18:48:58 bsiegert Exp $
|
||||
|
||||
DISTNAME= xosview-1.16
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.pogo.org.uk/~mark/xosview/releases/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.pogo.org.uk/~mark/xosview/
|
||||
COMMENT= X11 graphical display of OS statistics
|
||||
|
||||
USE_X11BASE= yes
|
||||
USE_LANGUAGES= c c++
|
||||
USE_TOOLS+= gmake
|
||||
BUILD_TARGET= xosview
|
||||
|
||||
# FIXME
|
||||
MAKE_FLAGS+= PLATFORM=bsd
|
||||
|
||||
INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man1
|
||||
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
INSTALL_MAKE_FLAGS+= PREFIX_TO_USE=${DESTDIR}${PREFIX}
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "NetBSD"
|
||||
. if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
|
||||
CFLAGS+= -DUVM
|
||||
UVM= yes
|
||||
BUILD_DEFS+= UVM
|
||||
. endif
|
||||
.elif ${OPSYS} == "SunOS"
|
||||
CPPFLAGS+= -I${X11BASE}/include
|
||||
LIBS+= -lsocket -lnsl
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
|
||||
${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD" || \
|
||||
${OPSYS} == "DragonFly"
|
||||
SPECIAL_PERMS+= bin/xosview ${REAL_ROOT_USER} kmem 2555
|
||||
.endif
|
||||
|
||||
SUBST_CLASSES+= paths
|
||||
SUBST_STAGE.paths= post-configure
|
||||
SUBST_MESSAGE.paths= Fixing manpage path.
|
||||
SUBST_FILES.paths= Makefile
|
||||
SUBST_SED.paths= -e s,share/man/man1,${PKGMANDIR}/man1,
|
||||
|
||||
.include "../../x11/libXpm/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
4
xosview/PLIST
Normal file
4
xosview/PLIST
Normal file
|
@ -0,0 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2015/05/03 18:48:58 bsiegert Exp $
|
||||
bin/xosview
|
||||
lib/X11/app-defaults/XOsview
|
||||
man/man1/xosview.1
|
5
xosview/distinfo
Normal file
5
xosview/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2015/05/03 18:48:58 bsiegert Exp $
|
||||
|
||||
SHA1 (xosview-1.16.tar.gz) = ee7c3479f83d5abf60b4e934263ba53a1b696c76
|
||||
RMD160 (xosview-1.16.tar.gz) = 2c83ed089931a5bec452eaa3251ed29212f415e7
|
||||
Size (xosview-1.16.tar.gz) = 137097 bytes
|
Loading…
Reference in a new issue