aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/unalz/Makefile3
-rw-r--r--audio/faac/Makefile3
-rw-r--r--audio/faad/Makefile3
-rw-r--r--audio/libgme/Makefile7
-rw-r--r--benchmarks/imb/Makefile3
-rw-r--r--benchmarks/xdd/Makefile13
-rw-r--r--biology/povchem/Makefile11
-rw-r--r--comms/cdr_read/Makefile5
-rw-r--r--comms/tcpser/Makefile3
-rw-r--r--databases/mysql-workbench51/Makefile18
-rw-r--r--deskutils/launchy/Makefile8
-rw-r--r--devel/bncsutil-ghost++/Makefile7
-rw-r--r--devel/codeworker/Makefile5
-rw-r--r--devel/initutil/Makefile10
-rw-r--r--devel/p65/Makefile7
-rw-r--r--x11/xorg-edit/Makefile4
16 files changed, 44 insertions, 66 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index c317d4d43eb1..6b207a759843 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -15,8 +15,7 @@ LICENSE_FILE= ${WRKSRC}/readme.txt
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= iconv
-USE_DOS2UNIX= yes
+USES= dos2unix iconv
MAKE_ARGS+= CPP="${CXX}" CC="${CC}" OBJ="${UNALZ_OBJS}" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
ALL_TARGET= posix-utf8
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 7e50d29d835a..d3b263d7bd75 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -14,9 +14,8 @@ LIB_DEPENDS= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
RESTRICTED= Distribution in binary form is prohibited
-USES= gmake
+USES= dos2unix gmake
USE_BZIP2= yes
-USE_DOS2UNIX= yes
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index 58857a726d84..65d5e8006d76 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -11,9 +11,8 @@ MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= MPEG-2 and MPEG-4 AAC audio decoder
-USES= gmake
+USES= dos2unix gmake
USE_BZIP2= yes
-USE_DOS2UNIX= yes
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
diff --git a/audio/libgme/Makefile b/audio/libgme/Makefile
index 11de91f23754..9ddbaa889f6d 100644
--- a/audio/libgme/Makefile
+++ b/audio/libgme/Makefile
@@ -14,13 +14,8 @@ LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
PROJECTHOST= game-music-emu
-USE_DOS2UNIX= yes
-NO_STAGE= yes
USE_BZIP2= yes
-USES= cmake
+USES= cmake dos2unix
USE_LDCONFIG= yes
-# XXX: dialog(1) doesn't like ^M in LICENSE_FILE
-post-extract: patch-dos2unix
-
.include <bsd.port.mk>
diff --git a/benchmarks/imb/Makefile b/benchmarks/imb/Makefile
index bbc6c7c7b0e6..29bf301ac79c 100644
--- a/benchmarks/imb/Makefile
+++ b/benchmarks/imb/Makefile
@@ -15,8 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Intel MPI Benchmark
WRKSRC= ${WRKDIR}/IMB_3.0/src/
-USES= gmake
-USE_DOS2UNIX= yes
+USES= dos2unix gmake
MAKEFILE= make_mpich
ALL_TARGET= all
# Intel hardcodes -O3 in make_mpich. Replacing it with system defaults
diff --git a/benchmarks/xdd/Makefile b/benchmarks/xdd/Makefile
index fac95e0f73c0..5f90c35e4c39 100644
--- a/benchmarks/xdd/Makefile
+++ b/benchmarks/xdd/Makefile
@@ -14,19 +14,16 @@ COMMENT= Tool for measuring and characterizing disk subsystem I/O
WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_FILES= bin/xdd bin/timeserver bin/gettime
-USE_DOS2UNIX= yes
+USES= dos2unix
DOS2UNIX_REGEX= .*\.(c|cpp|h)
+MAKEFILE= freebsd.makefile
-NO_STAGE= yes
post-extract:
${CP} ${FILESDIR}/freebsd.makefile ${WRKSRC}
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f freebsd.makefile
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/xdd.freebsd ${PREFIX}/bin/xdd
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/timeserver.freebsd ${PREFIX}/bin/timeserver
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/gettime.freebsd ${PREFIX}/bin/gettime
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/xdd.freebsd ${STAGEDIR}${PREFIX}/bin/xdd
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/timeserver.freebsd ${STAGEDIR}${PREFIX}/bin/timeserver
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/gettime.freebsd ${STAGEDIR}${PREFIX}/bin/gettime
.include <bsd.port.mk>
diff --git a/biology/povchem/Makefile b/biology/povchem/Makefile
index e9f6802472df..28b0b3d64ebe 100644
--- a/biology/povchem/Makefile
+++ b/biology/povchem/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta
NO_WRKSUBDIR= yes
-USE_DOS2UNIX= povchem.c
+USES= dos2unix
CPPFLAGS+= -DDATADIR=\"${DATADIR}\" \
-DSYSCONFDIR=\"${PREFIX}/etc\"
@@ -27,7 +27,6 @@ CPPFLAGS+= -DDATADIR=\"${DATADIR}\" \
PLIST_FILES= bin/povchem etc/povchem.cfg %%DATADIR%%/periodic.tab
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
post-extract:
@(cd ${DISTDIR}/${DIST_SUBDIR} && ${TAR} -cf - ${DISTFILES}) | \
(cd ${WRKSRC} && ${TAR} -xf -)
@@ -40,9 +39,9 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o povchem povchem.c -lm
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/periodic.tab ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/povchem ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${STAGEDIR}${PREFIX}/etc
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/periodic.tab ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/comms/cdr_read/Makefile b/comms/cdr_read/Makefile
index 1d2fd298a21a..dce6f19529ac 100644
--- a/comms/cdr_read/Makefile
+++ b/comms/cdr_read/Makefile
@@ -10,14 +10,13 @@ DISTNAME= cdrr${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for reading of the call detail records from PBX
-USE_DOS2UNIX= readme_eng.txt
+USES= dos2unix
+DOS2UNIX_FILES= readme_eng.txt
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/comms/tcpser/Makefile b/comms/tcpser/Makefile
index 31e101c7efca..5a16c4bec655 100644
--- a/comms/tcpser/Makefile
+++ b/comms/tcpser/Makefile
@@ -15,8 +15,7 @@ LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
LDFLAGS+= -pthread
-USE_DOS2UNIX= yes
-USES= gmake
+USES= dos2unix gmake
WRKSRC= ${WRKDIR}/tcpser
PORTDOCS= README CHANGES
diff --git a/databases/mysql-workbench51/Makefile b/databases/mysql-workbench51/Makefile
index 0845ea8dfd22..4a4d4421e1cc 100644
--- a/databases/mysql-workbench51/Makefile
+++ b/databases/mysql-workbench51/Makefile
@@ -12,13 +12,13 @@ PKGNAMESUFFIX?= 51
MAINTAINER= ports@FreeBSD.org
COMMENT= The MySQL Workbench
-LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
- pcre.3:${PORTSDIR}/devel/pcre \
- xml2.5:${PORTSDIR}/textproc/libxml2 \
- uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
- zip:${PORTSDIR}/archivers/libzip \
- sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
- cairo.2:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS+= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libxml2.so:${PORTSDIR}/textproc/libxml2 \
+ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
+ libzip.so:${PORTSDIR}/archivers/libzip \
+ libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
+ libcairo.so:${PORTSDIR}/graphics/cairo
MAKE_JOBS_UNSAFE= yes
@@ -30,10 +30,10 @@ ACLOCAL_ARGS=
AUTOCONF_ARGS=
USE_LDCONFIG= ${PREFIX}/lib/mysql-workbench
SUBDIRS= ext/yassl/taocrypt ext/yassl .
-USE_DOS2UNIX= yes
-DOS2UNIX_REGEX= .*ext/yassl/.*(Makefile.am|configure.in)
AUTOTOOLSFILES= configure.in
+USES= dos2unix
+DOS2UNIX_REGEX= .*ext/yassl/.*(Makefile.am|configure.in)
USE_GL= gl glu
USE_GNOME= libglade2 intltool libgnome gtk20 pango orbit2
USE_LUA= 5.1
diff --git a/deskutils/launchy/Makefile b/deskutils/launchy/Makefile
index 64cfc7bfc6eb..ed834b0903fe 100644
--- a/deskutils/launchy/Makefile
+++ b/deskutils/launchy/Makefile
@@ -13,15 +13,13 @@ COMMENT= Open source keystroke launcher
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils
-USES= qmake
-USE_DOS2UNIX= readme.lyx readme.txt
+USES= dos2unix qmake
+DOS2UNIX_FILES= readme.lyx readme.txt
USE_QT4= qmake_build moc_build rcc_build uic_build gui network
PORTDOCS= *
MAKE_JOBS_UNSAFE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} 's,/usr,${PREFIX},' \
${WRKSRC}/platforms/unix/unix.pro \
@@ -33,9 +31,7 @@ post-patch:
${WRKSRC}/src/src.pro
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/?eadme.* ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/devel/bncsutil-ghost++/Makefile b/devel/bncsutil-ghost++/Makefile
index facd8e4d9f25..f8da08251f8f 100644
--- a/devel/bncsutil-ghost++/Makefile
+++ b/devel/bncsutil-ghost++/Makefile
@@ -6,21 +6,20 @@ PORTVERSION= 1.3.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX= -ghost++
+EXTRACT_SUFX= .zip
DISTNAME= ${PROJECTHOST}_${PROJECTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility library for Battle.net clients in C++
-LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
PROJECTHOST= ghostplusplus
PROJECTVERSION= 17.1
-USE_ZIP= yes
-USE_DOS2UNIX= yes
+USES= dos2unix gmake
WRKSRC= ${WRKDIR}/ghost/bncsutil/src/bncsutil
-USE_GMAKE= yes
USE_LDCONFIG= yes
NO_STAGE= yes
diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile
index cbe461992901..6c61ae437ec0 100644
--- a/devel/codeworker/Makefile
+++ b/devel/codeworker/Makefile
@@ -6,6 +6,7 @@ PORTVERSION= 4.5.3
CATEGORIES= devel
MASTER_SITES= http://codeworker.free.fr/downloads/
DISTNAME= CodeWorker_SRC${PORTVERSION:S/./_/g}
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Versatile parsing tool and source code generator
@@ -14,9 +15,7 @@ LICENSE= LGPL21
WRKSRC= ${WRKDIR}/CodeWorker${PORTVERSION:S/./_/g}
-USES= gmake
-USE_ZIP= yes
-USE_DOS2UNIX= yes
+USES= dos2unix gmake
MAKE_ARGS= CC="${CXX}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LFLAGS="-lm"
ALL_TARGET= build
diff --git a/devel/initutil/Makefile b/devel/initutil/Makefile
index 55d05cf4c66f..1c47f86458b0 100644
--- a/devel/initutil/Makefile
+++ b/devel/initutil/Makefile
@@ -6,20 +6,20 @@ PORTVERSION= 2.1.b
CATEGORIES= devel
MASTER_SITES= http://www.bdsoft.com/dist/
DISTNAME= ${PORTNAME}2
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
-COMMENT= An STL Container Initialization Library
+COMMENT= STL Container Initialization Library
-USE_ZIP= yes
+USES= dos2unix
NO_BUILD= yes
NO_WRKSUBDIR= yes
-USE_DOS2UNIX= InitUtil.h
+DOS2UNIX_FILES= InitUtil.h
PLIST_FILES= include/InitUtil.h
-NO_STAGE= yes
do-install:
- @${INSTALL_DATA} ${WRKSRC}/InitUtil.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/InitUtil.h ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>
diff --git a/devel/p65/Makefile b/devel/p65/Makefile
index b31016559e43..28137680073c 100644
--- a/devel/p65/Makefile
+++ b/devel/p65/Makefile
@@ -13,14 +13,13 @@ COMMENT= An assembler for the 6502 microprocessor
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}
-USES= perl5
-USE_DOS2UNIX= yes
+USES= dos2unix perl5 shebangfix
+SHEBANG_FILES= ${DISTNAME}
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/p65
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
diff --git a/x11/xorg-edit/Makefile b/x11/xorg-edit/Makefile
index d513b82b9380..637e16bead6c 100644
--- a/x11/xorg-edit/Makefile
+++ b/x11/xorg-edit/Makefile
@@ -15,10 +15,10 @@ LICENSE= GPLv3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
-USE_DOS2UNIX= *.cpp *.h
+DOS2UNIX_GLOB= *.cpp *.h
USE_WX= 2.6+
WX_UNICODE= yes
-USES= gmake
+USES= dos2unix gmake
PLIST_FILES= bin/xorg-edit \
lib/xorg-edit/de_DE/LC_MESSAGES/xorg-edit.mo \