Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
gnump3d
gnump3d-Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnump3d-Makefile.patch of Package gnump3d
--- Makefile +++ Makefile @@ -16,12 +16,12 @@ # # Installation Directories. # -BINDIR = /usr/bin -TEMPDIR = /usr/share/gnump3d +BINDIR = $(PREFIX)/bin +TEMPDIR = $(PREFIX)/share/gnump3d CONFDIR = /etc/gnump3d CACHEDIR = /var/cache/gnump3d SERVEDIR = /var/cache/gnump3d/serving -MANDIR = /usr/local/man/man1 +MANDIR = $(PREFIX)/share/man/man1 LOGDIR = /var/log/gnump3d LIBDIR = `perl bin/getlibdir` PLUGDIR = $(LIBDIR)/gnump3d/plugins @@ -114,44 +114,44 @@ install: - install -d ${PREFIX}/${CONFDIR} - install -d ${PREFIX}/${BINDIR} - install -d ${PREFIX}/${TEMPDIR} - install -d ${PREFIX}/${MANDIR} - install -d ${PREFIX}/${PLUGDIR} - install -d ${PREFIX}/${LANGDIR} - install -d ${PREFIX}/${LOGDIR} - install -d ${PREFIX}/${CACHEDIR} - chmod 777 ${PREFIX}/${CACHEDIR} - install -d ${PREFIX}/$(SERVEDIR) - chmod 777 ${PREFIX}/${SERVEDIR} - chmod a+rx ${PREFIX}/${LIBDIR}/gnump3d/ - chmod a+rx ${PREFIX}/${LIBDIR}/gnump3d/plugins - chmod a+rx ${PREFIX}/${LIBDIR}/gnump3d/lang - cp lib/gnump3d/*.pm ${PREFIX}/${LIBDIR}/gnump3d - cp lib/gnump3d/plugins/*.pm ${PREFIX}/${PLUGDIR} - -rm ${PREFIX}/${PLUGDIR}/bug.pm - cp lib/gnump3d/lang/*.pm ${PREFIX}/${LANGDIR} - cp bin/gnump3d2 ${PREFIX}/${BINDIR} - chmod 755 ${PREFIX}/${BINDIR}/gnump3d2 - -ln -sf ${PREFIX}/${BINDIR}/gnump3d2 ${PREFIX}/${BINDIR}/gnump3d - cp bin/gnump3d-top ${PREFIX}/$(BINDIR) - chmod 755 ${PREFIX}/${BINDIR}/gnump3d-top - cp bin/gnump3d-index ${PREFIX}/${BINDIR} - chmod 755 ${PREFIX}/${BINDIR}/gnump3d-index - cp man/gnump3d-top.1 ${PREFIX}/${MANDIR} - cp man/gnump3d-index.1 ${PREFIX}/${MANDIR} - cp man/gnump3d.1 ${PREFIX}/${MANDIR} - cp man/gnump3d.conf.1 ${PREFIX}/${MANDIR} - cp -R templates/* ${PREFIX}/${TEMPDIR} - chmod -R a+r ${PREFIX}/${TEMPDIR} - chmod +rx ${PREFIX}/${TEMPDIR}/*/ - if [ -e ${PREFIX}/${CONFDIR}/gnump3d.conf ]; then cp ${PREFIX}/${CONFDIR}/gnump3d.conf ${PREFIX}/${CONFDIR}/gnump3d.conf-orig ; fi - sed "s#PLUGINDIR#${LIBDIR}#g" etc/gnump3d.conf > ${PREFIX}/${CONFDIR}/gnump3d.conf - cp etc/mime.types ${PREFIX}/${CONFDIR} - cp etc/file.types ${PREFIX}/${CONFDIR} - -rm -f ${PREFIX}/$(LIBDIR)/gnump3d/FreezeThaw.pm - -rm -f ${PREFIX}/$(LIBDIR)/gnump3d/playlist.pm + install -d $(DESTDIR)/${CONFDIR} + install -d $(DESTDIR)/${BINDIR} + install -d ${DESTDIR}/${TEMPDIR} + install -d ${DESTDIR}/${MANDIR} + install -d ${DESTDIR}/${PLUGDIR} + install -d ${DESTDIR}/${LANGDIR} + install -d ${DESTDIR}/${LOGDIR} + install -d ${DESTDIR}/${CACHEDIR} + chmod 777 ${DESTDIR}/${CACHEDIR} + install -d ${DESTDIR}/$(SERVEDIR) + chmod 777 ${DESTDIR}/${SERVEDIR} + chmod a+rx ${DESTDIR}/${LIBDIR}/gnump3d/ + chmod a+rx ${DESTDIR}/${LIBDIR}/gnump3d/plugins + chmod a+rx ${DESTDIR}/${LIBDIR}/gnump3d/lang + cp lib/gnump3d/*.pm ${DESTDIR}/${LIBDIR}/gnump3d + cp lib/gnump3d/plugins/*.pm ${DESTDIR}/${PLUGDIR} + -rm ${DESTDIR}/${PLUGDIR}/bug.pm + cp lib/gnump3d/lang/*.pm ${DESTDIR}/${LANGDIR} + cp bin/gnump3d2 ${DESTDIR}/${BINDIR} + chmod 755 ${DESTDIR}/${BINDIR}/gnump3d2 + -ln -sf $(DESTDIR)/${BINDIR}/gnump3d2 $(DESTDIR)/${BINDIR}/gnump3d + cp bin/gnump3d-top $(DESTDIR)/$(BINDIR) + chmod 755 $(DESTDIR)/${BINDIR}/gnump3d-top + cp bin/gnump3d-index $(DESTDIR)/${BINDIR} + chmod 755 $(DESTDIR)/${BINDIR}/gnump3d-index + cp man/gnump3d-top.1 $(DESTDIR)/${MANDIR} + cp man/gnump3d-index.1 $(DESTDIR)/${MANDIR} + cp man/gnump3d.1 $(DESTDIR)/${MANDIR} + cp man/gnump3d.conf.1 $(DESTDIR)/${MANDIR} + cp -R templates/* $(DESTDIR)/${TEMPDIR} + chmod -R a+r $(DESTDIR)/${TEMPDIR} + chmod +rx $(DESTDIR)/${TEMPDIR}/*/ + if [ -e $(DESTDIR)/${CONFDIR}/gnump3d.conf ]; then cp $(DESTDIR)/${CONFDIR}/gnump3d.conf $(DESTDIR)/${CONFDIR}/gnump3d.conf-orig ; fi + sed "s#PLUGINDIR#${LIBDIR}#g" etc/gnump3d.conf > $(DESTDIR)/${CONFDIR}/gnump3d.conf + cp etc/mime.types $(DESTDIR)/${CONFDIR} + cp etc/file.types $(DESTDIR)/${CONFDIR} + -rm -f $(DESTDIR)/$(LIBDIR)/gnump3d/FreezeThaw.pm + -rm -f $(DESTDIR)/$(LIBDIR)/gnump3d/playlist.pm profile:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor