View | Details | Raw Unified | Return to bug 210062
Collapse All | Expand All

(-)astro/routino/Makefile (+11 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	routino
4
PORTNAME=	routino
5
PORTVERSION=	3.1.1
5
PORTVERSION=	3.1.1
6
PORTREVISION=	1
6
CATEGORIES=	astro
7
CATEGORIES=	astro
7
MASTER_SITES=	http://www.routino.org/download/
8
MASTER_SITES=	http://www.routino.org/download/
8
9
Lines 26-32 Link Here
26
	${MKDIR} ${STAGEDIR}${WWWDIR}
27
	${MKDIR} ${STAGEDIR}${WWWDIR}
27
	(cd ${WRKSRC}/web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
28
	(cd ${WRKSRC}/web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
28
		"! -name Makefile")
29
		"! -name Makefile")
30
	${CHMOD} 0644 ${STAGEDIR}${PREFIX}/lib/lib*
31
	${CHMOD} 0755 ${STAGEDIR}${PREFIX}/bin/*
32
	${CHMOD} 0755 ${STAGEDIR}${WWWDIR}/bin/*
33
	${RM} ${STAGEDIR}${PREFIX}/lib/libroutino*.so
34
	${RM} ${STAGEDIR}${PREFIX}/lib/libroutino*.so.0
35
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*
29
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
36
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
30
	${STRIP_CMD} ${STAGEDIR}${WWWDIR}/bin/*
37
	${STRIP_CMD} ${STAGEDIR}${WWWDIR}/bin/*
38
.for f in routino.so.0.0.0 routino-slim.so.0.0.0
39
	${LN} -sf lib${f} ${STAGEDIR}${PREFIX}/lib/lib${f:R:R}
40
	${LN} -sf lib${f:R:R} ${STAGEDIR}${PREFIX}/lib/lib${f:R:R:R}
41
.endfor
31
42
32
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)astro/routino/files/patch-doc_Makefile (+28 lines)
Line 0 Link Here
1
--- doc/Makefile.orig	2016-06-04 17:01:05 UTC
2
+++ doc/Makefile
3
@@ -43,19 +43,19 @@ install: install-txt install-html
4
 install-txt:
5
 	@[ -d $(DESTDIR)$(docdir) ] || mkdir -p $(DESTDIR)$(docdir)
6
 	@for file in $(TOP_FILES); do \
7
-	    echo cp $$file $(DESTDIR)$(docdir) ;\
8
-	    cp -f $$file $(DESTDIR)$(docdir) ;\
9
+	    echo install $$file $(DESTDIR)$(docdir) ;\
10
+	    install $$file $(DESTDIR)$(docdir) ;\
11
 	 done
12
 	@for file in $(TXT_FILES); do \
13
-	    echo cp $$file $(DESTDIR)$(docdir) ;\
14
-	    cp -f $$file $(DESTDIR)$(docdir) ;\
15
+	    echo install $$file $(DESTDIR)$(docdir) ;\
16
+	    install $$file $(DESTDIR)$(docdir) ;\
17
 	 done
18
 
19
 install-html:
20
 	@[ -d $(DESTDIR)$(docdir)/html ] || mkdir -p $(DESTDIR)$(docdir)/html
21
 	@for file in $(HTML_FILES); do \
22
-	    echo cp html/$$file $(DESTDIR)$(docdir)/html ;\
23
-	    cp -f html/$$file $(DESTDIR)$(docdir)/html ;\
24
+	    echo install html/$$file $(DESTDIR)$(docdir)/html ;\
25
+	    install html/$$file $(DESTDIR)$(docdir)/html ;\
26
 	 done
27
 
28
 ########
(-)astro/routino/files/patch-extras_find-fixme_Makefile (+42 lines)
Line 0 Link Here
1
--- extras/find-fixme/Makefile.orig	2016-06-04 17:12:29 UTC
2
+++ extras/find-fixme/Makefile
3
@@ -52,8 +52,8 @@ all-bin: $(EXE)
4
 	@[ -d $(WEBBINDIR) ] || mkdir -p $(WEBBINDIR)
5
 	@for file in $(EXE); do \
6
 	    if [ ! -f $(WEBBINDIR)/$$file ] || [ $$file -nt $(WEBBINDIR)/$$file ]; then \
7
-	       echo cp $$file $(WEBBINDIR) ;\
8
-	       cp -f $$file $(WEBBINDIR) ;\
9
+	       echo install $$file $(WEBBINDIR) ;\
10
+	       install $$file $(WEBBINDIR) ;\
11
 	    fi ;\
12
 	 done
13
 
14
@@ -61,22 +61,22 @@ all-data:
15
 	@[ -d $(WEBDATADIR) ] || mkdir -p $(WEBDATADIR)
16
 	@for file in $(DATA); do \
17
 	    if [ ! -f $(WEBDATADIR)/$$file ] || [ $$file -nt $(WEBDATADIR)/$$file ]; then \
18
-	       echo cp $$file $(WEBDATADIR) ;\
19
-	       cp -f $$file $(WEBDATADIR) ;\
20
+	       echo install $$file $(WEBDATADIR) ;\
21
+	       install $$file $(WEBDATADIR) ;\
22
 	    fi ;\
23
 	 done
24
 
25
 all-www:
26
 	@for file in $(WWW_COPY); do \
27
 	    if [ ! -f $(WEBWWWDIR)/$$file ] || [ $(ROUTINO_WEBWWWDIR)/$$file -nt $(WEBWWWDIR)/$$file ]; then \
28
-	       echo cp $(ROUTINO_WEBWWWDIR)/$$file $(WEBWWWDIR) ;\
29
-	       cp -f $(ROUTINO_WEBWWWDIR)/$$file $(WEBWWWDIR) ;\
30
+	       echo install $(ROUTINO_WEBWWWDIR)/$$file $(WEBWWWDIR) ;\
31
+	       install $(ROUTINO_WEBWWWDIR)/$$file $(WEBWWWDIR) ;\
32
 	    fi ;\
33
 	 done
34
 	@for file in $(DOC_COPY); do \
35
 	    if [ ! -f $(WEBWWWDIR)/$$file ] || [ $(ROUTINO_DOCDIR)/$$file -nt $(WEBWWWDIR)/$$file ]; then \
36
-	       echo cp $(ROUTINO_DOCDIR)/$$file $(WEBWWWDIR) ;\
37
-	       cp -f $(ROUTINO_DOCDIR)/$$file $(WEBWWWDIR) ;\
38
+	       echo install $(ROUTINO_DOCDIR)/$$file $(WEBWWWDIR) ;\
39
+	       install $(ROUTINO_DOCDIR)/$$file $(WEBWWWDIR) ;\
40
 	    fi ;\
41
 	 done
42
 
(-)astro/routino/files/patch-src_Makefile (+43 lines)
Line 0 Link Here
1
--- src/Makefile.orig	2015-09-29 18:09:59 UTC
2
+++ src/Makefile
3
@@ -38,9 +38,7 @@ EXE=planetsplitter$(.EXE) planetsplitter
4
     router+lib$(.EXE) router+lib-slim$(.EXE)
5
 
6
 ifneq ($(HOST),MINGW)
7
-LIB =libroutino.so               libroutino-slim.so
8
-LIB+=libroutino.so.$(SOVERSION)  libroutino-slim.so.$(SOVERSION)
9
-LIB+=libroutino.so.$(LIBVERSION) libroutino-slim.so.$(LIBVERSION)
10
+LIB=libroutino.so.$(LIBVERSION) libroutino-slim.so.$(LIBVERSION)
11
 else
12
 LIB =routino.dll routino-slim.dll
13
 LIB+=routino.def routino-slim.def
14
@@ -284,22 +282,23 @@ install-local: all-local
15
 	@[ -d $(DESTDIR)$(bindir) ] || mkdir -p $(DESTDIR)$(bindir)
16
 	@for file in $(EXE); do \
17
 	    if [ -f $$file ]; then \
18
-	       echo cp $$file $(DESTDIR)$(bindir) ;\
19
-	       cp -f $$file $(DESTDIR)$(bindir) ;\
20
+	       echo install -s $$file $(DESTDIR)$(bindir) ;\
21
+	       install -s $$file $(DESTDIR)$(bindir) ;\
22
 	    fi ;\
23
 	 done
24
 	@[ -d $(DESTDIR)$(incdir) ] || mkdir -p $(DESTDIR)$(incdir)
25
 	@for file in $(INC); do \
26
 	    if [ -f $$file ]; then \
27
-	       echo cp $$file $(DESTDIR)$(incdir) ;\
28
-	       cp -f $$file $(DESTDIR)$(incdir) ;\
29
+	       echo install $$file $(DESTDIR)$(incdir) ;\
30
+	       install $$file $(DESTDIR)$(incdir) ;\
31
 	    fi ;\
32
 	 done
33
 	@[ -d $(DESTDIR)$(libdir) ] || mkdir -p $(DESTDIR)$(libdir)
34
+	echo $(LIB)
35
 	@for file in $(LIB); do \
36
 	    if [ -f $$file ]; then \
37
-	       echo cp $$file $(DESTDIR)$(libdir) ;\
38
-	       cp -df $$file $(DESTDIR)$(libdir) ;\
39
+	       echo install -s $$file $(DESTDIR)$(libdir) ;\
40
+	       install -s $$file $(DESTDIR)$(libdir) ;\
41
 	    fi ;\
42
 	 done
43
 
(-)astro/routino/files/patch-web_Makefile (+60 lines)
Line 0 Link Here
1
--- web/Makefile.orig	2016-06-04 17:03:11 UTC
2
+++ web/Makefile
3
@@ -64,8 +64,8 @@ all-bin: all-exe
4
 	@[ -d $(WEBBINDIR) ] || mkdir -p $(WEBBINDIR)
5
 	@for file in $(EXE_FILES); do \
6
 	    if [ -f $(SRCDIR)/$$file -a ! -f $(WEBBINDIR)/$$file ] || [ $(SRCDIR)/$$file -nt $(WEBBINDIR)/$$file ]; then \
7
-	       echo cp $(SRCDIR)/$$file $(WEBBINDIR) ;\
8
-	       cp -f $(SRCDIR)/$$file $(WEBBINDIR) ;\
9
+	       echo install $(SRCDIR)/$$file $(WEBBINDIR) ;\
10
+	       install $(SRCDIR)/$$file $(WEBBINDIR) ;\
11
 	    fi ;\
12
 	 done
13
 
14
@@ -75,14 +75,14 @@ all-data: all-xml
15
 	@[ -d $(WEBDATADIR) ] || mkdir -p $(WEBDATADIR)
16
 	@for file in $(STANDARD_XML_FILES); do \
17
 	    if [ ! -f $(WEBDATADIR)/$$file ] || [ $(XMLDIR)/routino-$$file -nt $(WEBDATADIR)/$$file ]; then \
18
-	       echo cp $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\
19
-	       cp -f $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\
20
+	       echo install $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\
21
+	       install $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\
22
 	    fi ;\
23
 	 done
24
 	@for file in $(SPECIAL_XML_FILES); do \
25
 	    if [ ! -f $(WEBDATADIR)/$$file ] || [ $(XMLDIR)/$$file -nt $(WEBDATADIR)/$$file ]; then \
26
-	       echo cp $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\
27
-	       cp -f $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\
28
+	       echo install $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\
29
+	       install $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\
30
 	    fi ;\
31
 	 done
32
 
33
@@ -92,8 +92,8 @@ all-doc:
34
 	@[ -d $(WEBDOCDIR) ] || mkdir -p $(WEBDOCDIR)
35
 	@for file in $(DOC_FILES); do \
36
 	    if [ ! -f $(WEBDOCDIR)/$$file ] || [ $(DOCDIR)/html/$$file -nt $(WEBDOCDIR)/$$file ]; then \
37
-	       echo cp $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\
38
-	       cp -f $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\
39
+	       echo install $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\
40
+	       install $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\
41
 	    fi ;\
42
 	 done
43
 
44
@@ -116,12 +116,12 @@ all-translations: $(WEBWWWDIR)/router.ht
45
 ifeq ($(HOST),MINGW)
46
 
47
 $(WEBWWWDIR)/router.html: $(WEBWWWDIR)/router.html.en
48
-	@echo cp $< $@
49
-	@cp -f $< $@
50
+	@echo install $< $@
51
+	@install $< $@
52
 
53
 $(WEBWWWDIR)/visualiser.html: $(WEBWWWDIR)/visualiser.html.en
54
-	@echo cp $< $@
55
-	@cp -f $< $@
56
+	@echo install $< $@
57
+	@install $< $@
58
 
59
 else
60
 
(-)astro/routino/files/patch-xml_Makefile (+19 lines)
Line 0 Link Here
1
--- xml/Makefile.orig	2016-06-04 17:08:07 UTC
2
+++ xml/Makefile
3
@@ -56,12 +56,12 @@ test:
4
 install: all
5
 	@[ -d $(DESTDIR)$(datadir) ] || mkdir -p $(DESTDIR)$(datadir)
6
 	@for file in $(STANDARD_FILES) ; do \
7
-	    echo cp routino-$$file $(DESTDIR)$(datadir)/$$file ;\
8
-	    cp -f routino-$$file $(DESTDIR)$(datadir)/$$file ;\
9
+	    echo install routino-$$file $(DESTDIR)$(datadir)/$$file ;\
10
+	    install routino-$$file $(DESTDIR)$(datadir)/$$file ;\
11
 	 done
12
 	@for file in $(SPECIAL_FILES); do \
13
-	    echo cp $$file $(DESTDIR)$(datadir)/$$file ;\
14
-	    cp -f $$file $(DESTDIR)$(datadir)/$$file ;\
15
+	    echo install $$file $(DESTDIR)$(datadir)/$$file ;\
16
+	    install $$file $(DESTDIR)$(datadir)/$$file ;\
17
 	 done
18
 
19
 ########
(-)astro/routino/pkg-plist (+6 lines)
Lines 7-12 Link Here
7
bin/router+lib
7
bin/router+lib
8
bin/router+lib-slim
8
bin/router+lib-slim
9
bin/router-slim
9
bin/router-slim
10
lib/libroutino-slim.so
11
lib/libroutino-slim.so.0
12
lib/libroutino-slim.so.0.0.0
13
lib/libroutino.so
14
lib/libroutino.so.0
15
lib/libroutino.so.0.0.0
10
%%PORTDOCS%%%%DOCSDIR%%/ALGORITHM.txt
16
%%PORTDOCS%%%%DOCSDIR%%/ALGORITHM.txt
11
%%PORTDOCS%%%%DOCSDIR%%/CONFIGURATION.txt
17
%%PORTDOCS%%%%DOCSDIR%%/CONFIGURATION.txt
12
%%PORTDOCS%%%%DOCSDIR%%/DATA.txt
18
%%PORTDOCS%%%%DOCSDIR%%/DATA.txt

Return to bug 210062