mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- Update to version 1.13
PR: 60407 Submitted by: maintainer
This commit is contained in:
parent
cd14416fe4
commit
81b1c9b575
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96261
5 changed files with 19 additions and 48 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= xpad
|
PORTNAME= xpad
|
||||||
PORTVERSION= 1.9.1
|
PORTVERSION= 1.13
|
||||||
CATEGORIES= deskutils
|
CATEGORIES= deskutils
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -14,24 +14,26 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
MAINTAINER= amyfoub@videotron.ca
|
MAINTAINER= amyfoub@videotron.ca
|
||||||
COMMENT= A virtual note-pad system for your X11 desktop
|
COMMENT= A virtual note-pad system for your X11 desktop
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/xpad-${PORTVERSION}
|
#WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
USE_BZIP2= yes
|
||||||
|
|
||||||
|
#USE_X_PREFIX= yes
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
|
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||||
|
|
||||||
MAN1= xpad.1
|
MAN1= xpad.1
|
||||||
MANCOMPRESSED= no
|
MANCOMPRESSED= no
|
||||||
|
|
||||||
post-install:
|
do-install:
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${PREFIX}/share/doc/xpad
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xpad ${PREFIX}/bin/
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/xpad/
|
${INSTALL_MAN} ${WRKSRC}/doc/xpad.1 ${PREFIX}/man/man1/
|
||||||
@${MKDIR} ${PREFIX}/share/examples/xpad
|
@${MKDIR} ${PREFIX}/share/xpad
|
||||||
${INSTALL_DATA} ${WRKSRC}/xpad.desktop ${PREFIX}/share/examples/xpad/
|
${INSTALL_DATA} ${WRKSRC}/images/xpad.xpm ${PREFIX}/share/xpad/
|
||||||
@${CAT} pkg-message
|
${INSTALL_DATA} ${WRKSRC}/images/xpad2.xpm ${PREFIX}/share/xpad/
|
||||||
.endif
|
${INSTALL_DATA} ${WRKSRC}/images/sticky.xpm ${PREFIX}/share/xpad/
|
||||||
@${RM} /xpad.desktop
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (xpad-1.9.1.tar.gz) = 05e52fe86f421ea4c770e8480cb40d4f
|
MD5 (xpad-1.13.tar.bz2) = 8b844f8a3c0cdc930162683aaeaca28e
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- src/sm.c.orig Thu Feb 6 16:05:59 2003
|
|
||||||
+++ src/sm.c Mon Oct 6 16:09:35 2003
|
|
||||||
@@ -25,12 +25,13 @@
|
|
||||||
#include "main.h"
|
|
||||||
#include <X11/SM/SMlib.h>
|
|
||||||
#include <stdio.h> /* only for printf */
|
|
||||||
-#include <sys/select.h> /* for select */
|
|
||||||
+#include <sys/types.h> /* only for printf */
|
|
||||||
+#include <sys/select.h>
|
|
||||||
+#include <sys/time.h>
|
|
||||||
#include <stdlib.h> /* for free */
|
|
||||||
#include <string.h> /* for strlen */
|
|
||||||
#include <unistd.h> /* for getuid */
|
|
||||||
#include <pwd.h> /* for getpwuid */
|
|
||||||
-#include <sys/types.h> /* for getuid and getpwuid */
|
|
||||||
|
|
||||||
static SmcConn xpad_sm_conn = NULL;
|
|
||||||
static int xpad_interact_style;
|
|
|
@ -1,11 +0,0 @@
|
||||||
-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
1) See /usr/local/share/doc/xpad/README for some useful informations.
|
|
||||||
|
|
||||||
2) If you are using KDE, copy /usr/local/share/example/xpad/xpad.desktop to:
|
|
||||||
|
|
||||||
~/.kde/share/applnk/Utilities/
|
|
||||||
or
|
|
||||||
/usr/local/share/applnk/Utilities/
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
|
|
@ -1,7 +1,5 @@
|
||||||
bin/xpad
|
bin/xpad
|
||||||
share/pixmaps/xpad.xpm
|
share/xpad/xpad.xpm
|
||||||
@dirrm share/pixmaps
|
share/xpad/xpad2.xpm
|
||||||
%%PORTDOCS%%share/doc/xpad/README
|
share/xpad/sticky.xpm
|
||||||
%%PORTDOCS%%share/examples/xpad/xpad.desktop
|
@dirrm share/xpad
|
||||||
%%PORTDOCS%%@dirrm share/doc/xpad
|
|
||||||
%%PORTDOCS%%@dirrm share/examples/xpad
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue