[csw-devel] SF.net SVN: gar:[18470] csw/mgar/pkg/ps2eps/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Jun 20 14:23:23 CEST 2012


Revision: 18470
          http://gar.svn.sourceforge.net/gar/?rev=18470&view=rev
Author:   dmichelsen
Date:     2012-06-20 12:23:23 +0000 (Wed, 20 Jun 2012)
Log Message:
-----------
ps2eps/trunk: Fix directory locations

Modified Paths:
--------------
    csw/mgar/pkg/ps2eps/trunk/Makefile

Modified: csw/mgar/pkg/ps2eps/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ps2eps/trunk/Makefile	2012-06-20 11:58:10 UTC (rev 18469)
+++ csw/mgar/pkg/ps2eps/trunk/Makefile	2012-06-20 12:23:23 UTC (rev 18470)
@@ -16,15 +16,17 @@
 endef
 
 MASTER_SITES = http://www.tm.uka.de/~bless/
-DISTFILES  = $(DISTNAME).tar.gz
+DISTNAME = $(NAME)
+DISTFILES  = $(NAME)-$(VERSION).tar.gz
 
 RUNTIME_DEP_PKGS	=	CSWperl
+# This cannot be tracked with checkpkg
+CHECKPKG_OVERRIDES_CSWps2eps += surplus-dependency|CSWperl
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
 CONFIGURE_SCRIPTS	=
 GARCOMPILER			=	GNU
-WORKSRC				=	$(WORKDIR)/$(NAME)
 PATCHDIR			=	$(WORKSRC)
 PATCHFILE			=	0001-Fix-shebang-perl.patch
 BUILD_SCRIPTS		=	custom
@@ -47,17 +49,18 @@
 	$(CC) -c $(CFLAGS) $< -o $@
 
 
+install-custom: pkgdocdir = $(docdir)/ps2eps
 install-custom:
 	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(bindir)
 	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rwx,go=rx bbox $(DESTDIR)$(bindir)
 	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rwx,go=rx bin/ps2eps $(DESTDIR)$(bindir)
-	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/bbox.pdf $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/ps2eps.pdf $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/bbox.html $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/ps2eps.html $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r Changes.txt $(DESTDIR)$(docdir)
-	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(mandir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/bbox.1 $(DESTDIR)$(mandir)
-	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/ps2eps.1 $(DESTDIR)$(mandir)
+	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/bbox.pdf $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/ps2eps.pdf $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/bbox.html $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/ps2eps.html $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r Changes.txt $(DESTDIR)$(pkgdocdir)
+	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(mandir)/man1
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/bbox.1 $(DESTDIR)$(mandir)/man1
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/ps2eps.1 $(DESTDIR)$(mandir)/man1
 	$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list