aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/ici/Makefile38
-rw-r--r--lang/ici/pkg-plist7
2 files changed, 20 insertions, 25 deletions
diff --git a/lang/ici/Makefile b/lang/ici/Makefile
index 8b4ebadd5e20..28950f877899 100644
--- a/lang/ici/Makefile
+++ b/lang/ici/Makefile
@@ -12,40 +12,28 @@ COMMENT= An interpretive language with C's feel and high level data types
MAKEFILE= Makefile.bsd
-MAN1= ici.1 icifuncs.1 icioo.1 iciops.1 icire.1 \
- icistmt.1 icitypes.1
-
-MANCOMPRESSED= yes
-
ALL_TARGET= all ici.h
-
ICIHDRS= ici.h icistr-setup.h
-
ICIDOCS= doc/ici.pdf
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ici ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/libici4.a ${PREFIX}/lib
-.for f in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/${f}.gz ${PREFIX}/man/man1
-.endfor
- ${MKDIR} ${PREFIX}/lib/ici4
- ${INSTALL_DATA} ${WRKSRC}/ici4core.ici ${PREFIX}/lib/ici4
- ${INSTALL_DATA} ${WRKSRC}/ici4core1.ici ${PREFIX}/lib/ici4
- ${INSTALL_DATA} ${WRKSRC}/ici4core2.ici ${PREFIX}/lib/ici4
- ${INSTALL_DATA} ${WRKSRC}/ici4core3.ici ${PREFIX}/lib/ici4
- ${MKDIR} ${PREFIX}/include
+ ${INSTALL_PROGRAM} ${WRKSRC}/ici ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/libici4.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_MAN} ${WRKSRC}/*.gz ${STAGEDIR}${PREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/ici4
+ ${INSTALL_DATA} ${WRKSRC}/ici4core.ici ${STAGEDIR}${PREFIX}/lib/ici4
+ ${INSTALL_DATA} ${WRKSRC}/ici4core1.ici ${STAGEDIR}${PREFIX}/lib/ici4
+ ${INSTALL_DATA} ${WRKSRC}/ici4core2.ici ${STAGEDIR}${PREFIX}/lib/ici4
+ ${INSTALL_DATA} ${WRKSRC}/ici4core3.ici ${STAGEDIR}${PREFIX}/lib/ici4
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include
.for f in ${ICIHDRS}
- ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/include
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ici4
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ici4
.for f in ${ICIDOCS}
- ${INSTALL_MAN} ${WRKSRC}/$f ${PREFIX}/share/doc/ici4
+ ${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/share/doc/ici4
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/ici/pkg-plist b/lang/ici/pkg-plist
index 980da187f82b..8adc0e929a0c 100644
--- a/lang/ici/pkg-plist
+++ b/lang/ici/pkg-plist
@@ -6,6 +6,13 @@ lib/ici4/ici4core1.ici
lib/ici4/ici4core2.ici
lib/ici4/ici4core3.ici
lib/libici4.a
+man/man1/ici.1.gz
+man/man1/icifuncs.1.gz
+man/man1/icioo.1.gz
+man/man1/iciops.1.gz
+man/man1/icire.1.gz
+man/man1/icistmt.1.gz
+man/man1/icitypes.1.gz
%%PORTDOCS%%%%DOCSDIR%%4/ici.pdf
@dirrm %%DOCSDIR%%4
@dirrm lib/ici4