diff options
author | johans <johans@FreeBSD.org> | 2014-11-16 04:13:35 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2014-11-16 04:13:35 +0800 |
commit | 7e9adb8c2982ad54af943c7247891ddb6077a04d (patch) | |
tree | b8afadd2b4572720eeda0e1551daca6ba4397766 /x11/xclip | |
parent | 385bb8af7dd19e8df04bb9c6e9bc3e205c28adb8 (diff) | |
download | freebsd-ports-gnome-7e9adb8c2982ad54af943c7247891ddb6077a04d.tar.gz freebsd-ports-gnome-7e9adb8c2982ad54af943c7247891ddb6077a04d.tar.zst freebsd-ports-gnome-7e9adb8c2982ad54af943c7247891ddb6077a04d.zip |
- Remove patchfile and remove autotools
- Strip installed binary
- Adopt port
- Bump portrevision
Diffstat (limited to 'x11/xclip')
-rw-r--r-- | x11/xclip/Makefile | 23 | ||||
-rw-r--r-- | x11/xclip/files/patch-configure.ac | 12 |
2 files changed, 13 insertions, 22 deletions
diff --git a/x11/xclip/Makefile b/x11/xclip/Makefile index 873b08c964bf..a3990b694f65 100644 --- a/x11/xclip/Makefile +++ b/x11/xclip/Makefile @@ -3,27 +3,30 @@ PORTNAME= xclip PORTVERSION= 0.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@FreeBSD.org COMMENT= Interface to X selections ("the clipboard") from the command line LICENSE= GPLv2 -USE_AUTOTOOLS= autoconf:env aclocal:env automake:env USE_XORG= x11 xmu -USES= gmake +USES= gmake GNU_CONFIGURE= yes +CONFIGURE_ENV+= ac_cv_header_X11_Xmu_Atoms_h=yes \ + ac_cv_header_X11_Intrinsic_h=yes \ + ac_cv_lib_Xmu_XmuClientWindow=yes -PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cutfile bin/xclip-pastefile man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz - -pre-configure: - cd ${WRKSRC}; ./bootstrap +PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cutfile \ + bin/xclip-pastefile \ + man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz post-patch: - ${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' \ - ${WRKSRC}/xclip-copyfile + ${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip .include <bsd.port.mk> diff --git a/x11/xclip/files/patch-configure.ac b/x11/xclip/files/patch-configure.ac deleted file mode 100644 index 12605aabbed3..000000000000 --- a/x11/xclip/files/patch-configure.ac +++ /dev/null @@ -1,12 +0,0 @@ ---- configure.ac.old 2009-11-02 22:15:13.000000000 +0200 -+++ configure.ac 2009-11-02 22:15:18.000000000 +0200 -@@ -12,9 +12,6 @@ - AC_HEADER_STDC - AC_PATH_XTRA - AC_CHECK_TOOL(STRIP, strip, :) --AC_CHECK_HEADER([X11/Xmu/Atoms.h], [], AC_MSG_ERROR([*** X11/Xmu/Atoms.h is missing ***])) --AC_CHECK_HEADER([X11/Intrinsic.h], [], AC_MSG_ERROR([*** X11/Intrinsic.h is missing ***])) --AC_CHECK_LIB(Xmu, XmuClientWindow, [], AC_MSG_ERROR([*** libXmu not found ***])) - - AC_OUTPUT(Makefile) - |