diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2010-08-16 18:56:41 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2010-08-16 18:56:41 +0000 |
commit | b342565b1f55612c95e59f8d4c96c7bf0e5f07b6 (patch) | |
tree | faef5e68b93ea1b587f33feae73981bde9ee023f /net/x2goclient-cli | |
parent | bfa66c7d13e586dac7a555f3aa458040221596e4 (diff) | |
download | ports-b342565b1f55612c95e59f8d4c96c7bf0e5f07b6.tar.gz ports-b342565b1f55612c95e59f8d4c96c7bf0e5f07b6.zip |
Notes
Diffstat (limited to 'net/x2goclient-cli')
-rw-r--r-- | net/x2goclient-cli/Makefile | 8 | ||||
-rw-r--r-- | net/x2goclient-cli/files/setsid.c | 7 |
2 files changed, 3 insertions, 12 deletions
diff --git a/net/x2goclient-cli/Makefile b/net/x2goclient-cli/Makefile index 6c371d78b883..fc342caac57d 100644 --- a/net/x2goclient-cli/Makefile +++ b/net/x2goclient-cli/Makefile @@ -6,6 +6,7 @@ PORTNAME= x2goclient-cli DISTVERSION= 3.0.1-1.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://x2go.obviously-nice.de/deb/pool-lenny/x2goclient-cli/ DISTNAME= ${PORTNAME}_${DISTVERSION} @@ -20,14 +21,11 @@ RUN_DEPENDS= ${SITE_PERL}/Proc/Simple.pm:${PORTSDIR}/devel/p5-Proc-Simple \ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USE_PERL5= yes -PLIST_FILES= bin/x2goclient-cli bin/setsid +PLIST_FILES= bin/x2goclient-cli WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S,-1.2,,} - -do-build: - cd ${WRKSRC}; ${CC} ${CFLAGS} ${FILESDIR}/setsid.c -o setsid +NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/x2goclient-cli ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/setsid ${PREFIX}/bin .include <bsd.port.mk> diff --git a/net/x2goclient-cli/files/setsid.c b/net/x2goclient-cli/files/setsid.c deleted file mode 100644 index 09c711d0e638..000000000000 --- a/net/x2goclient-cli/files/setsid.c +++ /dev/null @@ -1,7 +0,0 @@ -#include <unistd.h> -int main(int argc,char** argv) -{ - setsid(); - execvp(argv[1], argv+1); - return 0; -} |