1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Pixmap is a pixmap editor based on XPM library

This commit is contained in:
Jean-Marc Zucconi 1995-02-19 03:22:36 +00:00
parent cbe3a27040
commit 3f47621e58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1007
6 changed files with 93 additions and 0 deletions

31
graphics/pixmap/Makefile Normal file
View File

@ -0,0 +1,31 @@
USE_IMAKE= yes
DISTNAME= pixmap
LIB_DEPENDS= Xpm\\.3\\.:${PORTSDIR}/graphics/xpm
MASTER_SITES= ftp://ftp.x.org/pub/R6untarred/contrib/programs/
.if !defined(MASTER_SITE_OVERRIDE)
fetch: pre-fetch
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
@(cd ${DISTDIR}; \
for file in ${DISTFILES}; do \
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> $$file doesn't seem to exist on this system."; \
echo ">> Attempting to fetch it from a master site."; \
for site in ${MASTER_SITES}; do \
if ${NCFTP} -c ${NCFTPFLAGS} $${site}$${file} >$$file; then \
break; \
fi \
done; \
if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> Couldn't fetch it - please try to retreive this";\
echo ">> port manually into ${DISTDIR} and try again."; \
exit 1; \
fi; \
fi \
done)
.endif
pre-patch:
@(cd ${WRKDIR}; mv pub/R6untarred/contrib/programs/pixmap .)
.include <bsd.port.mk>

View File

@ -0,0 +1,19 @@
*** Pixmap.h~ Fri May 13 04:03:29 1994
--- Pixmap.h Sun Feb 19 03:35:48 1995
***************
*** 69,75 ****
#include <X11/Xmu/Converters.h>
#include <X11/Xos.h>
#include <X11/Xfuncproto.h>
! #include "xpm.h"
/* Resources:
--- 69,75 ----
#include <X11/Xmu/Converters.h>
#include <X11/Xos.h>
#include <X11/Xfuncproto.h>
! #include <X11/xpm.h>
/* Resources:

View File

@ -0,0 +1,19 @@
*** SelFile/SelFile.c~ Mon May 30 04:02:59 1994
--- SelFile/SelFile.c Sun Feb 19 03:40:43 1995
***************
*** 46,52 ****
/* BSD 4.3 errno.h does not declare errno */
extern int errno;
extern int sys_nerr;
! extern char *sys_errlist[];
#include <sys/param.h>
#include <X11/cursorfont.h>
--- 46,52 ----
/* BSD 4.3 errno.h does not declare errno */
extern int errno;
extern int sys_nerr;
! /* extern char *sys_errlist[];*/
#include <sys/param.h>
#include <X11/cursorfont.h>

View File

@ -0,0 +1 @@
Pixmap is a pixmap editor based on XPM library

View File

@ -0,0 +1,3 @@
The pixmap program is a tool for creating or editing rectangular images
made up of colored pixels, i.e., pixmaps. Pixmaps are intensively used in
X to define window backgrounds, icon images, etc.

20
graphics/pixmap/pkg-plist Normal file
View File

@ -0,0 +1,20 @@
@cd /usr/X11R6
@mode 755
bin/pixmap
@mode 444
lib/X11/app-defaults/Pixmap
lib/X11/Pixmap/Down
lib/X11/Pixmap/FlipHoriz
lib/X11/Pixmap/FlipVert
lib/X11/Pixmap/Fold
lib/X11/Pixmap/Left
lib/X11/Pixmap/Right
lib/X11/Pixmap/RotateLeft
lib/X11/Pixmap/RotateRight
lib/X11/Pixmap/Stipple
lib/X11/Pixmap/Up
lib/X11/Pixmap/Term
lib/X11/Pixmap/Excl
man/man1/pixmap.1.gz
@mode 644
lib/libXgnu.a