summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-01-02 18:24:08 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-01-02 18:24:08 +0000
commitc8855cd89f551226b06213354b7a7bc71149d17d (patch)
tree3e28418e51a07aec93ddd2f8ef0853cdc8b81737 /devel
parentupgrade to 2.3.1 (diff)
portlint[1]
Replace the seperate files/Makefile with a do-install target in the ports Makefile. PR: 46513 [1] Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/mingw-bin-msvcrt/Makefile13
-rw-r--r--devel/mingw-bin-msvcrt/files/Makefile10
-rw-r--r--devel/mingw-bin-msvcrt/pkg-plist1
3 files changed, 12 insertions, 12 deletions
diff --git a/devel/mingw-bin-msvcrt/Makefile b/devel/mingw-bin-msvcrt/Makefile
index ff8e5c1a4a62..20f6cf588e2c 100644
--- a/devel/mingw-bin-msvcrt/Makefile
+++ b/devel/mingw-bin-msvcrt/Makefile
@@ -20,8 +20,17 @@ MAINTAINER= doc@hisio.safenet.pl
NO_MTREE= yes
NO_WRKSUBDIR= yes
+NO_BUILD= yes
+STRIP=
-post-extract:
- @${CP} ${FILESDIR}/Makefile ${WRKDIR}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/mingwm10.dll ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/i386-mingw32msvc/lib
+ ${MKDIR} ${PREFIX}/i386-mingw32msvc/include/sys
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/i386-mingw32msvc/lib/
+ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/i386-mingw32msvc/include
+ ${INSTALL_DATA} ${WRKSRC}/include/sys/* ${PREFIX}/i386-mingw32msvc/include/sys/
+ ${INSTALL_DATA} ${WRKSRC}/mingw32/lib/* ${PREFIX}/i386-mingw32msvc/lib/
+ ${INSTALL_DATA} ${WRKSRC}/mingw32/include/* ${PREFIX}/i386-mingw32msvc/include
.include <bsd.port.mk>
diff --git a/devel/mingw-bin-msvcrt/files/Makefile b/devel/mingw-bin-msvcrt/files/Makefile
deleted file mode 100644
index f2abffb4efb9..000000000000
--- a/devel/mingw-bin-msvcrt/files/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-# $FreeBSD$
-
-all:
-
-install:
- mkdir -p ${PREFIX}/bin
- install -c -g wheel -o root -m 0755 bin/mingwm10.dll ${PREFIX}/bin
- mkdir -p /usr/local/i386-mingw32msvc
- cp -R lib include ${PREFIX}/i386-mingw32msvc
- cd mingw32; cp -R lib include ${PREFIX}/i386-mingw32msvc
diff --git a/devel/mingw-bin-msvcrt/pkg-plist b/devel/mingw-bin-msvcrt/pkg-plist
index 45add8283edd..d5c18c25f614 100644
--- a/devel/mingw-bin-msvcrt/pkg-plist
+++ b/devel/mingw-bin-msvcrt/pkg-plist
@@ -283,4 +283,5 @@ i386-mingw32msvc/lib/libwsock32.a
i386-mingw32msvc/lib/libwst.a
@dirrm i386-mingw32msvc/include/sys
@dirrm i386-mingw32msvc/include
+@dirrm i386-mingw32msvc/lib
@unexec rmdir -p %D/i386-mingw32msvc/lib 2>/dev/null || true