Bug 20559 - New port: nucleus
Summary: New port: nucleus
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-12 18:40 UTC by Jimmy Olgeni
Modified: 2000-09-16 05:24 UTC (History)
0 users

See Also:


Attachments
file.shar (8.01 KB, text/plain)
2000-08-12 18:40 UTC, Jimmy Olgeni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Olgeni 2000-08-12 18:40:01 UTC
Nucleus font package for X.
Comment 1 Jimmy Olgeni 2000-08-19 20:58:30 UTC
Port updated.

Changes: 
	* do everything from the main Makefile
	* fix pkg/COMMENT for portlint

Please remove file "patches/patch-aa".



diff -rcN nucleus.orig/Makefile nucleus/Makefile
*** nucleus.orig/Makefile	Sat Aug 19 20:50:27 2000
--- nucleus/Makefile	Sat Aug 19 21:34:06 2000
***************
*** 12,19 ****
  
  MAINTAINER=	olgeni@uli.it
  
! NO_WRKSUBDIR=	yes
  USE_X_PREFIX=	yes
  
  post-install:
  	@${CAT} ${PKGDIR}/DESCR
--- 12,31 ----
  
  MAINTAINER=	olgeni@uli.it
  
! WRKSRC=		${WRKDIR}/${PORTNAME}
  USE_X_PREFIX=	yes
+ 
+ FONT_DIRECTORY=	$(PREFIX)/lib/X11/fonts
+ 
+ do-build:
+ 	cd ${WRKSRC}/mozilla-src && \
+ 	${RM} -f *.gz && make && ${GZIP_CMD} *.pcf && mkfontdir .
+ 
+ do-install:
+ 	${MKDIR} ${FONT_DIRECTORY}/nucleus
+ 	cd ${WRKSRC}/nucleus; ${INSTALL_DATA} fonts.dir *.pcf.gz
${FONT_DIRECTORY}/nucleus
+ 	${MKDIR} ${FONT_DIRECTORY}/mozilla
+ 	cd ${WRKSRC}/mozilla-src; ${INSTALL_DATA} fonts.dir *.pcf.gz
${FONT_DIRECTORY}/mozilla
  
  post-install:
  	@${CAT} ${PKGDIR}/DESCR
diff -rcN nucleus.orig/patches/patch-aa nucleus/patches/patch-aa
*** nucleus.orig/patches/patch-aa	Sat Aug 19 20:50:27 2000
--- nucleus/patches/patch-aa	Thu Jan  1 01:00:00 1970
***************
*** 1,19 ****
- *** Makefile.orig	Sat Aug 12 18:46:05 2000
- --- Makefile	Sat Aug 12 18:48:26 2000
- ***************
- *** 0 ****
- --- 1,14 ----
- + DESTDIR=$(PREFIX)/lib/X11/fonts
- +  
- + all:
- + 	@echo nothing to be done for \`$@\'
- + 	@echo this is an install-only port.
- +  
- + install:
- + 	[ -d $(DESTDIR) ] || mkdir $(DESTDIR)
- + 	(cd nucleus && tar -cf - nucleus) | (cd ${DESTDIR}; tar -xf -)
- + 	mkdir -p ${DESTDIR}/mozilla
- + 	cd nucleus/mozilla-src && make
- + 	(cd nucleus/mozilla-src && tar -cf - *.pcf) | (cd
${DESTDIR}/mozilla && tar -xf -)
- + 	cd ${DESTDIR}/mozilla && gzip *.pcf
- + 	cd ${DESTDIR}/mozilla && mkfontdir .
--- 0 ----
diff -rcN nucleus.orig/pkg/COMMENT nucleus/pkg/COMMENT
*** nucleus.orig/pkg/COMMENT	Sat Aug 19 20:50:27 2000
--- nucleus/pkg/COMMENT	Sat Aug 19 20:52:23 2000
***************
*** 1 ****
! nucleus font package for X.
--- 1 ----
! Nucleus font package for X
diff -rcN nucleus.orig/pkg/DESCR nucleus/pkg/DESCR
*** nucleus.orig/pkg/DESCR	Sat Aug 19 20:50:27 2000
--- nucleus/pkg/DESCR	Sat Aug 19 21:31:22 2000
***************
*** 1,4 ****
! nucleus font collection for X.
  
  You'll have to add /usr/X11R6/lib/X11/fonts/nucleus
  to your X font path by either:
--- 1,4 ----
! Nucleus font collection for X.
  
  You'll have to add /usr/X11R6/lib/X11/fonts/nucleus
  to your X font path by either:
Comment 2 Will Andrews freebsd_committer freebsd_triage 2000-09-16 05:24:19 UTC
State Changed
From-To: open->closed

Committed, thanks!  Next time please use portlint to make 
sure your port is clean (pkg/COMMENT was bad, I fixed it).