|
|
|
@ -49,7 +49,7 @@ else
@@ -49,7 +49,7 @@ else
|
|
|
|
|
sed -i 's/(__APPLE__)/(__NetBSD__)/g' xdiskusage.C # sed replacing 'APPLE' with 'NetBSD' |
|
|
|
|
# ^ xdiskusage now acts like the FreeBSD version - probably hacky, but it seems functional |
|
|
|
|
# Configure, compile, install, clean |
|
|
|
|
./configure && make CPPFLAGS=-I/usr/pkg/include -I/usr/X11R7/include && su root -c 'make install clean' |
|
|
|
|
./configure && make CPPFLAGS=-I/usr/pkg/include -I/usr/X11R7/include && su root -c 'make install clean' # ERR: The two -I are buggy |
|
|
|
|
# .desktop |
|
|
|
|
su root -c 'printf "[Desktop Entry]\nType=Application\nName=xdiskusage\nComment=Graphical disk usage program\nTerminal=false\nTryExec=xdiskusage\nExec=/usr/local/bin/xdiskusage\nCategories=Utility" > /usr/share/applications/xdiskusage.desktop' |
|
|
|
|
cd .. # Go back to /tmp |
|
|
|
|