View | Details | Raw Unified | Return to bug 175049
Collapse All | Expand All

(-)deskutils/aspostit/Makefile (-12 / +12 lines)
Lines 1-32 Link Here
1
# New ports collection makefile for:   ASPostIt
1
# Created by: Kris Kennaway <kris@FreeBSD.org>
2
# Date created:        2 January 1999
3
# Whom:                Kris Kennaway <kris@FreeBSD.org>
4
#
5
# $FreeBSD: head/deskutils/aspostit/Makefile 300896 2012-07-14 13:54:48Z beat $
2
# $FreeBSD: head/deskutils/aspostit/Makefile 300896 2012-07-14 13:54:48Z beat $
6
#
7
3
8
PORTNAME=	aspostit
4
PORTNAME=	aspostit
9
PORTVERSION=	1.3
5
PORTVERSION=	1.3
10
PORTREVISION=	6
6
PORTREVISION=	6
11
CATEGORIES=	deskutils
7
CATEGORIES=	deskutils
12
MASTER_SITES=	${MASTER_SITE_AFTERSTEP}
8
MASTER_SITES=	AFTERSTEP/apps/aspostit
13
MASTER_SITE_SUBDIR=	apps/aspostit
14
9
15
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	An AfterStep dockable version of XPostIt
11
COMMENT=	AfterStep dockable version of XPostIt
17
12
18
LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg
13
LICENSE=	GPLv2 # (or later)
14
15
LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg
19
16
20
USE_XORG=	xpm xaw xext x11
17
USE_XORG=	xpm xaw xext x11
21
USE_GMAKE=	yes
18
USE_GMAKE=	yes
22
23
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
MAKE_JOBS_SAFE=	yes
24
21
25
MAN1=		aspostit.1
22
MAN1=		aspostit.1
26
PLIST_FILES=	bin/aspostit
23
PLIST_FILES=	bin/aspostit
27
24
25
post-extract:
26
	@${LN} -sf aspostit.man ${WRKSRC}/aspostit.1
27
28
do-install:
28
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/aspostit ${PREFIX}/bin/
29
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} aspostit ${PREFIX}/bin)
30
	${INSTALL_MAN} ${WRKSRC}/aspostit.man ${PREFIX}/man/man1/aspostit.1
30
	(cd ${WRKSRC} && ${INSTALL_MAN} aspostit.1 ${MANPREFIX}/man/man1)
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)deskutils/aspostit/files/patch-xpostit.c (+19 lines)
Line 0 Link Here
1
--- xpostit.c.orig	1999-01-08 06:10:27.000000000 +0900
2
+++ xpostit.c	2012-10-24 01:06:04.000000000 +0900
3
@@ -32,6 +32,7 @@
4
 #include <X11/Xaw/SimpleMenu.h>
5
 #include <signal.h>
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 
9
 #include "xpostit.h"
10
 #include "version.h"
11
@@ -130,7 +131,7 @@
12
 unsigned long timer_interval;	/* auto-save interval */
13
 unsigned long alarm_interval;	/* alarm check interval */
14
 
15
-void main(argc, argv)
16
+int main(argc, argv)
17
 char **argv;
18
 int argc;
19
 {

Return to bug 175049